Class AciTargets
- java.lang.Object
-
- org.opends.server.authorization.dseecompat.AciTargets
-
public final class AciTargets extends Object
This class represents target part of an ACI's syntax. This is the part of an ACI before the ACI body and specifies the entry, attributes, or set of entries and attributes which the ACI controls access. The supported ACI target keywords are: target, targetattr, targetscope, targetfilter, targattrfilters, targetcontrol and extop.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AciTargets
decode(String input, Dn dn, ServerContext serverContext)
Decode an ACI's target part of the syntax from the string provided.boolean
isTargetFilterApplicable(AciTargetMatchContext matchCtx)
Checks an ACI's targetfilter rule information against a target match context.
-
-
-
Method Detail
-
decode
public static AciTargets decode(String input, Dn dn, ServerContext serverContext) throws AciException
Decode an ACI's target part of the syntax from the string provided.- Parameters:
input
- String representing an ACI target part of syntax.dn
- The DN of the entry containing the ACI.serverContext
- The server context- Returns:
- An AciTargets class representing the decoded ACI target string.
- Throws:
AciException
- If the provided string contains errors.
-
isTargetFilterApplicable
public boolean isTargetFilterApplicable(AciTargetMatchContext matchCtx)
Checks an ACI's targetfilter rule information against a target match context.- Parameters:
matchCtx
- The target match context containing information needed to perform a target match.- Returns:
- True if the targetfilter rule matched the target context.
-
-