public final class AciTargets extends Object
Modifier and Type | Method and Description |
---|---|
static AciTargets |
decode(String input,
Dn dn)
Decode an ACI's target part of the syntax from the string provided.
|
ExtOp |
getExtOp()
Return the class representing the ACI extop keyword.
|
TargAttrFilters |
getTargAttrFilters()
Return the class representing the ACI targattrfilters keyword.
|
org.opends.server.authorization.dseecompat.TargetAttr |
getTargetAttr()
Return class representing the ACI targetattr keyword.
|
TargetControl |
getTargetControl()
Return the class representing the ACI targetcontrol keyword.
|
TargetFilter |
getTargetFilter()
Return class representing the ACI targetfilter keyword.
|
SearchScope |
getTargetScope()
Return the ACI targetscope keyword.
|
static boolean |
isExtOpApplicable(Aci aci,
AciTargetMatchContext matchCtx)
Check an ACI's extop rule against a target match context.
|
static boolean |
isTargAttrFiltersApplicable(Aci aci,
AciTargetMatchContext matchCtx)
Check an ACI's targattrfilters rule against a target match context.
|
static boolean |
isTargetApplicable(Aci aci,
AciTargetMatchContext matchCtx)
Wrapper class that passes an ACI, an ACI's targets and the specified target match context's resource entry DN to
the main isTargetApplicable method.
|
static boolean |
isTargetApplicable(Aci aci,
AciTargets targets,
Dn entryDN)
Main target isApplicable method.
|
static boolean |
isTargetAttrApplicable(Aci aci,
AciTargetMatchContext targetMatchCtx)
Checks an provided ACI's targetattr rule against a target match context.
|
static boolean |
isTargetControlApplicable(Aci aci,
AciTargetMatchContext matchCtx)
Check an ACI's targetcontrol rule against a target match context.
|
static boolean |
isTargetFilterApplicable(Aci aci,
AciTargetMatchContext matchCtx)
Checks an ACI's targetfilter rule information against a target match context.
|
public org.opends.server.authorization.dseecompat.TargetAttr getTargetAttr()
public SearchScope getTargetScope()
public TargetFilter getTargetFilter()
public TargAttrFilters getTargAttrFilters()
public TargetControl getTargetControl()
public ExtOp getExtOp()
public static AciTargets decode(String input, Dn dn) throws AciException
input
- String representing an ACI target part of syntax.dn
- The DN of the entry containing the ACI.AciException
- If the provided string contains errors.public static boolean isTargetFilterApplicable(Aci aci, AciTargetMatchContext matchCtx)
aci
- The ACI to try an match the targetfilter of.matchCtx
- The target match context containing information needed to perform a target match.public static boolean isTargetControlApplicable(Aci aci, AciTargetMatchContext matchCtx)
aci
- The ACI to match the targetcontrol against.matchCtx
- The target match context containing the information needed to perform the target match.public static boolean isExtOpApplicable(Aci aci, AciTargetMatchContext matchCtx)
aci
- The ACI to match the extop rule against.matchCtx
- The target match context containing the information needed to perform the target match.public static boolean isTargAttrFiltersApplicable(Aci aci, AciTargetMatchContext matchCtx)
aci
- The ACI to match the targattrfilters against.matchCtx
- The target match context containing the information needed to perform the target match.public static boolean isTargetAttrApplicable(Aci aci, AciTargetMatchContext targetMatchCtx)
aci
- The ACI to evaluate.targetMatchCtx
- The target match context to check the ACI against.public static boolean isTargetApplicable(Aci aci, AciTargetMatchContext matchCtx)
aci
- The ACI currently be matched.matchCtx
- The target match context to match against.public static boolean isTargetApplicable(Aci aci, AciTargets targets, Dn entryDN)
aci
- The ACI to match the target against.targets
- The targets to use in this evaluation.entryDN
- The DN to use in this evaluation.Copyright 2010-2018 ForgeRock AS.