Class DefaultEvaluationContext
java.lang.Object
org.keycloak.authorization.common.DefaultEvaluationContext
- All Implemented Interfaces:
EvaluationContext
- Author:
- Pedro Igor
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultEvaluationContext(Identity identity, Map<String, List<String>> claims, KeycloakSession keycloakSession) DefaultEvaluationContext(Identity identity, KeycloakSession keycloakSession) -
Method Summary
Modifier and TypeMethodDescriptionReturns all attributes within the current execution and runtime environment.protected Map<String,Collection<String>> Returns theIdentitythat represents an entity (person or non-person) to which the permissions must be granted, or not.
-
Field Details
-
keycloakSession
-
identity
-
-
Constructor Details
-
DefaultEvaluationContext
-
DefaultEvaluationContext
-
-
Method Details
-
getIdentity
Description copied from interface:EvaluationContextReturns theIdentitythat represents an entity (person or non-person) to which the permissions must be granted, or not.- Specified by:
getIdentityin interfaceEvaluationContext- Returns:
- the identity to which the permissions must be granted, or not
-
getBaseAttributes
-
getAttributes
Description copied from interface:EvaluationContextReturns all attributes within the current execution and runtime environment.- Specified by:
getAttributesin interfaceEvaluationContext- Returns:
- the attributes within the current execution and runtime environment
-