|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.authorization.dseecompat.UserDN
public class UserDN
This class represents the userdn keyword in a bind rule.
| Method Summary | |
|---|---|
static KeywordBindRule |
decode(java.lang.String expression,
EnumBindRuleType type)
Decodes an expression string representing a userdn bind rule. |
EnumEvalResult |
evaluate(AciEvalContext evalCtx)
Performs the evaluation of a userdn bind rule based on the evaluation context passed to it. |
static EnumEvalResult |
evaluate(Entry e,
DN clientDN,
AttributeType attrType)
This method searches an entry for an attribute value that is treated as a DN. |
static EnumEvalResult |
evalURL(AciEvalContext evalCtx,
LDAPURL url)
This method evaluates an URL userdn expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static KeywordBindRule decode(java.lang.String expression,
EnumBindRuleType type)
throws AciException
expression - The string representation of the userdn bind rule
expression.type - An enumeration of the type of the bind rule.
AciException - If the expression failed to LDAP URL decode.public EnumEvalResult evaluate(AciEvalContext evalCtx)
evaluate in interface KeywordBindRuleevalCtx - The evaluation context to evaluate with.
public static EnumEvalResult evalURL(AciEvalContext evalCtx,
LDAPURL url)
evalCtx - The evaluation context to use.url - URL containing the URL to use in the evaluation.
public static EnumEvalResult evaluate(Entry e,
DN clientDN,
AttributeType attrType)
e - The entry to get the attribute type from.clientDN - The client authorization DN to check for.attrType - The attribute type from the bind rule.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||