Class BindRule
java.lang.Object
org.opends.server.authorization.dseecompat.BindRule
This class represents a single bind rule of an ACI permission-bind rule pair.
-
Method Summary
Modifier and TypeMethodDescriptionstatic BindRule
decode
(String input, ServerContext serverContext) Decode an ACI bind rule string representation.evaluate
(AciEvalContext evalCtx) Evaluate a bind rule against an evaluation context.toString()
void
toString
(StringBuilder buffer) Appends a string representation of this object to the provided buffer.
-
Method Details
-
decode
Decode an ACI bind rule string representation.- Parameters:
input
- The string representation of the bind rule.serverContext
- The server context- Returns:
- A BindRule class representing the bind rule.
- Throws:
AciException
- If the string is an invalid bind rule.
-
evaluate
Evaluate a bind rule against an evaluation context. If it is a simple bind rule (no boolean type) then grab the keyword rule from the map table and call the correspondingevaluate()
function. If it is a complex rule call the routine aboveevalComplex()
.- Parameters:
evalCtx
- The evaluation context to pass to the keyword evaluation function.- Returns:
- An result enumeration containing the result of the evaluation.
-
toString
-
toString
Appends a string representation of this object to the provided buffer.- Parameters:
buffer
- The buffer into which a string representation of this object should be appended.
-