Class UserAttr
java.lang.Object
org.opends.server.authorization.dseecompat.UserAttr
- All Implemented Interfaces:
KeywordBindRule
This class implements the userattr bind rule keyword.
TODO Evaluate making this class more efficient.
This class isn't as efficient as it could be. For example, the evalVal(AciEvalContext) method should be able
to use cached versions of the attribute type and filter. The evalUrl(AciEvalContext) and
evalDNKeywords(AciEvalContext) methods should also be able to use a cached version of the attribute type.
-
Method Summary
Modifier and TypeMethodDescriptionevaluate(AciEvalContext evalCtx) Evaluate the expression using an evaluation context.toString()voidtoString(StringBuilder buffer) Appends a string representation of this object to the provided buffer.
-
Method Details
-
evaluate
Evaluate the expression using an evaluation context.- Specified by:
evaluatein interfaceKeywordBindRule- Parameters:
evalCtx- The evaluation context to use in the evaluation of the userattr expression.- Returns:
- An enumeration containing the result of the evaluation.
-
toString
-
toString
Description copied from interface:KeywordBindRuleAppends a string representation of this object to the provided buffer.- Specified by:
toStringin interfaceKeywordBindRule- Parameters:
buffer- The buffer into which a string representation of this object should be appended.
-