|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
EvaluationContext manages the context during evaluation of
Functions and other Evaluatable entities.
An instance of this class is typically instantiated at the beginning
of an some evaluation context (for example, when an AccessControlRule
is evaluated).
NOTE: This class does some optional caching for current date, time, and dateTime values (defined by a boolean flag to the constructors). These values always be available but they do not necessarily need to remain constant over the course of an evaluation if the values are being generated by the PDP (if the values are provided in the Request, then obviously they will remain constant). The default behavior is for these environment values to be cached, so that (for example) the current time remains constant over the course of an evaluation.
| Method Summary | |
EvaluationResult |
getAttribute(URI attrCategory,
URI type,
URI id)
Returns attribute value(s) from the access control request. |
AttributeValue |
getResourceId()
Returns the resource named in the request as resource-id. |
| Method Detail |
public AttributeValue getResourceId()
public EvaluationResult getAttribute(URI attrCategory,
URI type,
URI id)
attrCategory - the attribute category of the attribute value(s) to findtype - the type of the attribute value(s) to findid - the id of the attribute value(s) to find
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||