Interface EvaluationContext
-
- All Known Implementing Classes:
DefaultEvaluationContext
public interface EvaluationContextThis interface serves as a bridge between the policy evaluation runtime and the environment in which it is running. When evaluating policies, this interface can be used to query information from the execution environment/context and enrich decisions.- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributesgetAttributes()Returns all attributes within the current execution and runtime environment.IdentitygetIdentity()Returns theIdentitythat represents an entity (person or non-person) to which the permissions must be granted, or not.
-
-
-
Method Detail
-
getIdentity
Identity getIdentity()
Returns theIdentitythat represents an entity (person or non-person) to which the permissions must be granted, or not.- Returns:
- the identity to which the permissions must be granted, or not
-
getAttributes
Attributes getAttributes()
Returns all attributes within the current execution and runtime environment.- Returns:
- the attributes within the current execution and runtime environment
-
-