|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.authorization.dseecompat.TargAttrFilters
public class TargAttrFilters
The TargAttrFilters class represents a targattrfilters rule of an ACI.
Field Summary | |
---|---|
static java.lang.String |
secondOp
Regular expression used to match the second operation of the filter list. |
Constructor Summary | |
---|---|
TargAttrFilters(EnumTargetOperator op,
TargAttrFilterList firstFilterList,
TargAttrFilterList secondFilterList)
Represents an targatterfilters keyword rule. |
Method Summary | |
---|---|
static TargAttrFilters |
decode(EnumTargetOperator type,
java.lang.String expression)
Decode an targattrfilter rule. |
TargAttrFilterList |
getTargAttrFilterList(AciTargetMatchContext matchCtx)
Gets the TargFilterList corresponding to the mask value. |
boolean |
hasMask(int mask)
Return true if the TargAttrFilters mask contains the specified mask. |
boolean |
isApplicableAddDel(AciTargetMatchContext matchCtx)
Check if this TargAttrFilters object is applicable to the specified target match context. |
boolean |
isApplicableMod(AciTargetMatchContext matchCtx,
Aci aci)
Check if this TargAttrFilters object is applicable to the target specified match context. |
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 secondOp
Constructor Detail |
---|
public TargAttrFilters(EnumTargetOperator op, TargAttrFilterList firstFilterList, TargAttrFilterList secondFilterList)
op
- The enumeration representing the operation type.firstFilterList
- The first filter list class parsed from the rule.
This one is required.secondFilterList
- The second filter list class parsed from the
rule. This one is optional.Method Detail |
---|
public static TargAttrFilters decode(EnumTargetOperator type, java.lang.String expression) throws AciException
type
- The enumeration representing the type of this rule. Defaults
to equality for this target.expression
- The string expression to be decoded.
AciException
- If the expression string contains errors and
cannot be decoded.public TargAttrFilterList getTargAttrFilterList(AciTargetMatchContext matchCtx)
matchCtx
- The target match context containing the rights to
match against.
public boolean isApplicableMod(AciTargetMatchContext matchCtx, Aci aci)
matchCtx
- The target match context containing the information
needed to match.aci
- The ACI currently being evaluted for a target match.
public boolean isApplicableAddDel(AciTargetMatchContext matchCtx)
matchCtx
- The target match context containing the information
needed to match.
public boolean hasMask(int mask)
mask
- The mask to check for.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |