Class TargetFilter
java.lang.Object
org.opends.server.authorization.dseecompat.TargetFilter
This class represents a targetfilter keyword of an aci.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TargetFilterdecode(EnumTargetOperator op, String expr) Decode a aci's targetfilter string.booleanisApplicable(AciTargetMatchContext matchCtx) Checks if a targetfilter matches an evaluation context.
-
Method Details
-
decode
Decode a aci's targetfilter string.- Parameters:
op- The operation enumeration of the expression.expr- A string representing the target filter.- Returns:
- A TargetFilter class suitable for using in a match.
- Throws:
AciException- If the expression string is invalid.
-
isApplicable
Checks if a targetfilter matches an evaluation context.- Parameters:
matchCtx- The evaluation context to use in the matching.- Returns:
- True if the target filter matched the context.
-