|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.Target
public class Target
A class representing an ACI target keyword.
Method Summary | |
---|---|
static Target |
decode(EnumTargetOperator operator,
java.lang.String expr,
DN aciDN)
Decode an expression string representing a target keyword expression. |
DN |
getDN()
Returns the URL DN of the expression. |
EnumTargetOperator |
getOperator()
Returns the operator of this expression. |
boolean |
isPattern()
Returns boolean if a pattern was seen during parsing. |
boolean |
matchesPattern(DN dn)
This method tries to match a pattern against a DN. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Target decode(EnumTargetOperator operator, java.lang.String expr, DN aciDN) throws AciException
operator
- An enumeration of the operation of this target.expr
- A string representation of the target.aciDN
- The DN of the ACI entry used for a descendant check.
AciException
- If the expression string is invalid.public EnumTargetOperator getOperator()
public DN getDN()
public boolean isPattern()
public boolean matchesPattern(DN dn)
dn
- The DN to try an match.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |