|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AttributeTarget
AttributeTarget defines the interface for a conjunctive sequence
of AttributeConditions instances used to match an
AccessControlRequest. Each AttributeConditions
instance must have a unique attribute category. AttributeTarget
is responsible for matching AttributeConditions instances and
returning a "MATCH" status if ALL AttributeConditions match.
AttributeConditions are matched in the order specified by
a List.
| Method Summary | |
|---|---|
AccessControlRule |
getAccessControlRule()
Returns the associated AccessControlRule. |
List |
getAttributeConditionsList()
Get the List of AttributeConditions to be matched. |
String |
getDescription()
Returns a textual description. |
MatchResult |
match(EvaluationContext evalContext)
Determines whether this AttributeTarget matches
the input request (whether it is applicable). |
void |
setAttributeConditionsList(List attrCondsList)
Set the List of AttributeConditions to be matched. |
| Method Detail |
|---|
String getDescription()
AttributeTarget or
null if no description is available.AccessControlRule getAccessControlRule()
AccessControlRule.
AccessControlRule associated with this
AttributeTarget. NOTE: It is the caller's responsibility
to evaluate the AccessControlRule in the event that
an AccessControlRequest matches this
AttributeTarget.
void setAttributeConditionsList(List attrCondsList)
throws IllegalArgumentException
AttributeConditions to be matched.
attrCondsList - the List of AttributeConditions.
IllegalArgumentException - if one or more Objects within
the AttributeConditions list are of the incorrect type.List getAttributeConditionsList()
AttributeConditions to be matched.
AttributeConditions or an empty List
if no current AttributeConditions.MatchResult match(EvaluationContext evalContext)
AttributeTarget matches
the input request (whether it is applicable). This will be true
only if ALL enclosed AttributeConditionss match.
evalContext - the representation of the request
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||