|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.authorization.dseecompat.TargetAttr
public class TargetAttr
A class representing an ACI's targetattr keyword.
| Method Summary | |
|---|---|
static TargetAttr |
decode(EnumTargetOperator operator,
java.lang.String expr)
Decodes an targetattr expression string into a targetattr class suitable for evaluation. |
java.util.HashSet<AttributeType> |
getAttributes()
Return array holding each attribute type to be evaluated in the expression. |
java.util.HashSet<AttributeType> |
getOpAttributes()
Return array holding operational attribute types to be evaluated in the expression. |
EnumTargetOperator |
getOperator()
Returns the operator enumeration of the targetattr expression. |
boolean |
isAllOpAttributes()
This flag is set if the parsing code saw: targetattr="+" or targetattr != "+". |
boolean |
isAllUserAttributes()
This flag is set if the parsing code saw: targetattr="*" or targetattr != "*". |
static boolean |
isApplicable(AttributeType a,
TargetAttr targetAttr)
Performs test to see if the specified is applicable to the specified TargetAttr. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public EnumTargetOperator getOperator()
public boolean isAllUserAttributes()
public boolean isAllOpAttributes()
public java.util.HashSet<AttributeType> getAttributes()
public java.util.HashSet<AttributeType> getOpAttributes()
public static TargetAttr decode(EnumTargetOperator operator,
java.lang.String expr)
throws AciException
operator - The operator enumeration of the expression.expr - The expression string to be decoded.
AciException - If the expression string is invalid.
public static boolean isApplicable(AttributeType a,
TargetAttr targetAttr)
a - The attribute type to evaluate.targetAttr - The ACI's TargetAttr class to evaluate against.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||