public class KeycloakEvaluationContext extends Object implements EvaluationContext
| Constructor and Description |
|---|
KeycloakEvaluationContext(KeycloakIdentity identity,
KeycloakSession keycloakSession) |
KeycloakEvaluationContext(KeycloakSession keycloakSession) |
| Modifier and Type | Method and Description |
|---|---|
Attributes |
getAttributes()
Returns all attributes within the current execution and runtime environment.
|
Identity |
getIdentity()
Returns the
Identity that represents an entity (person or non-person) to which the permissions must be granted, or not. |
public KeycloakEvaluationContext(KeycloakSession keycloakSession)
public KeycloakEvaluationContext(KeycloakIdentity identity, KeycloakSession keycloakSession)
public Identity getIdentity()
EvaluationContextIdentity that represents an entity (person or non-person) to which the permissions must be granted, or not.getIdentity in interface EvaluationContextpublic Attributes getAttributes()
EvaluationContextgetAttributes in interface EvaluationContextCopyright © 2016 JBoss by Red Hat. All rights reserved.