|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.AciTargets
public class AciTargets
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.
Field Summary | |
---|---|
static java.lang.String |
targetsRegex
Regular expression used to match one or more target rules. |
Method Summary | |
---|---|
static AciTargets |
decode(java.lang.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. |
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. |
static boolean |
skipRightsHasRights(int rights)
Try and match a one or more of the specified rights in the skiprights mask. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String targetsRegex
Method Detail |
---|
public TargetAttr getTargetAttr()
public SearchScope getTargetScope()
public TargetFilter getTargetFilter()
public TargAttrFilters getTargAttrFilters()
public TargetControl getTargetControl()
public ExtOp getExtOp()
public static AciTargets decode(java.lang.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 skipRightsHasRights(int rights)
rights
- The rights to check for.
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |