public class TargAttrFilters extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
secondOp
Regular expression used to match the second operation of the filter list.
|
| Constructor and Description |
|---|
TargAttrFilters(EnumTargetOperator op,
TargAttrFilterList firstFilterList,
TargAttrFilterList secondFilterList)
Represents an targattrfilters keyword rule.
|
| Modifier and Type | Method and Description |
|---|---|
static TargAttrFilters |
decode(EnumTargetOperator type,
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.
|
public static final String secondOp
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.public static TargAttrFilters decode(EnumTargetOperator type, 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 evaluated 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.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.