Class TargetControl
java.lang.Object
org.opends.server.authorization.dseecompat.TargetControl
This class represents an ACI's targetcontrol keyword.
-
Method Summary
Modifier and TypeMethodDescriptionstatic TargetControl
decode
(EnumTargetOperator operator, String expr) Decode an targetcontrol expression string.boolean
isApplicable
(AciTargetMatchContext matchCtx) Check if a targetcontrol is applicable based on the provided target match context.
-
Method Details
-
decode
Decode an targetcontrol expression string.- Parameters:
operator
- An enumeration representing the operator type.expr
- A string representing the targetcontrol expression.- Returns:
- A class representing the targetcontrol expression that can be used to evaluate an ACI.
- Throws:
AciException
- If the specified expression string is invalid.
-
isApplicable
Check if a targetcontrol is applicable based on the provided target match context.- Parameters:
matchCtx
- The target match context to use in the check.- Returns:
- True if the targetcontrol is applicable based on the context.
-