public abstract class AbstractAttributeTargetedRegexMatchFunctor extends AbstractRegexMatchFunctor
| Modifier and Type | Field and Description |
|---|---|
private String |
attributeId
ID of the attribute whose values will be evaluated.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
AbstractAttributeTargetedRegexMatchFunctor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluatePermitValue(ShibbolethFilteringContext filterContext,
String id,
Object attributeValue)
Evaluates this matching criteria.
|
String |
getAttributeId()
Gets the ID of the attribute whose values will be evaluated.
|
void |
setAttributeId(String id)
Sets the ID of the attribute whose values will be evaluated.
|
protected void |
warnOnTargeted(String actualId)
Emits a warning in the event that a target attribute is configured, because this target is
ignored during Permit/Deny rule evaluation.
|
getRegularExpression, isMatch, setRegularExpressiondoEvaluatePolicyRequirement, doEvaluateValue, evaluateDenyRule, evaluatePolicyRequirementprivate final org.slf4j.Logger log
private String attributeId
public AbstractAttributeTargetedRegexMatchFunctor()
public String getAttributeId()
public void setAttributeId(String id)
id - ID of the attribute whose values will be evaluatedpublic boolean evaluatePermitValue(ShibbolethFilteringContext filterContext, String id, Object attributeValue) throws FilterProcessingException
evaluatePermitValue in interface MatchFunctorevaluatePermitValue in class AbstractMatchFunctorfilterContext - the current filtering contextid - ID of the attribute being evaluatedattributeValue - value of the attribute being evaluatedFilterProcessingException - thrown if the function can not be evaluatedprotected void warnOnTargeted(String actualId)
actualId - the actual attribute being evaluatedCopyright © 1999-2015. All Rights Reserved.