Package | Description |
---|---|
org.keycloak.authorization.common | |
org.keycloak.authorization.permission | |
org.keycloak.authorization.policy.evaluation |
Provides classes related with the evaluation of policies.
|
org.keycloak.authorization.protection.resource |
Modifier and Type | Class and Description |
---|---|
class |
ClientModelIdentity |
class |
KeycloakIdentity |
class |
UserModelIdentity |
Modifier and Type | Field and Description |
---|---|
protected Identity |
DefaultEvaluationContext.identity |
Modifier and Type | Method and Description |
---|---|
Identity |
DefaultEvaluationContext.getIdentity() |
Constructor and Description |
---|
DefaultEvaluationContext(Identity identity,
KeycloakSession keycloakSession) |
DefaultEvaluationContext(Identity identity,
Map<String,List<String>> claims,
KeycloakSession keycloakSession) |
Modifier and Type | Method and Description |
---|---|
static void |
Permissions.all(ResourceServer resourceServer,
Identity identity,
AuthorizationProvider authorization,
AuthorizationRequest request,
Consumer<ResourcePermission> evaluator)
Returns a list of permissions for all resources and scopes that belong to the given
resourceServer and
identity . |
Modifier and Type | Method and Description |
---|---|
Identity |
EvaluationContext.getIdentity()
Returns the
Identity that represents an entity (person or non-person) to which the permissions must be granted, or not. |
Constructor and Description |
---|
PermissionTicketAwareDecisionResultCollector(AuthorizationRequest request,
PermissionTicketToken ticket,
Identity identity,
ResourceServer resourceServer,
AuthorizationProvider authorization) |
Constructor and Description |
---|
ResourceService(KeycloakSession session,
ResourceServer resourceServer,
Identity identity,
ResourceSetService resourceManager) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.