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()
EvaluationContext
Identity
that represents an entity (person or non-person) to which the permissions must be granted, or not.getIdentity
in interface EvaluationContext
public Attributes getAttributes()
EvaluationContext
getAttributes
in interface EvaluationContext
Copyright © 2016 JBoss by Red Hat. All rights reserved.