public class GroupDN extends Object implements KeywordBindRule
Modifier and Type | Field and Description |
---|---|
static String |
LDAP_URLS
Regular expression matching one or more LDAP URLs separated by
"||".
|
Modifier and Type | Method and Description |
---|---|
static KeywordBindRule |
decode(String expr,
EnumBindRuleType type)
Decode an string expression representing a groupdn bind rule.
|
EnumEvalResult |
evaluate(AciEvalContext evalCtx)
Performs the evaluation of a groupdn bind rule based on the
evaluation context passed to it.
|
static EnumEvalResult |
evaluate(Entry e,
AciEvalContext evalCtx,
AttributeType attributeType,
DN suffixDN)
Performs an evaluation of a group that was specified in an attribute
type value of the specified entry and attribute type.
|
String |
toString() |
void |
toString(StringBuilder buffer)
Appends a string representation of this object to the provided buffer.
|
public static final String LDAP_URLS
public static KeywordBindRule decode(String expr, EnumBindRuleType type) throws AciException
expr
- A string representation of the bind rule.type
- An enumeration of the type of the bind rule.AciException
- If the expression string is invalid.public EnumEvalResult evaluate(AciEvalContext evalCtx)
evaluate
in interface KeywordBindRule
evalCtx
- An evaluation context to use in the evaluation.public static EnumEvalResult evaluate(Entry e, AciEvalContext evalCtx, AttributeType attributeType, DN suffixDN)
e
- The entry to use in the evaluation.evalCtx
- The evaluation context to use in the evaluation.attributeType
- The attribute type of the entry to use to get the
values for the groupd DNs.suffixDN
- The suffix that the groupDN must be under. If it's null,
then the groupDN can be anywhere in the DIT.public final void toString(StringBuilder buffer)
toString
in interface KeywordBindRule
buffer
- The buffer into which a string representation of this object
should be appended.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.