public class AttributeInMetadataMatchFunctor extends AbstractMatchFunctor
Constructor and Description |
---|
AttributeInMetadataMatchFunctor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
Evaluates this matching criteria.
|
protected boolean |
doEvaluateValue(ShibbolethFilteringContext filterContext,
String attributeId,
Object attributeValue)
Evaluates this matching criteria.
|
boolean |
isMatchIfMetadataSilent()
Gets whether to matched if the metadata contains no AttributeConsumingService.
|
boolean |
isOnlyIfRequired()
Gets whether optionally requested attributes should be matched.
|
void |
setMatchIfMetadataSilent(boolean flag)
Sets whether to match if the metadata contains no AttributeConsumingService.
|
void |
setOnlyIfRequired(boolean flag)
Sets whether optionally requested attributes should be matched.
|
evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement
public boolean isOnlyIfRequired()
public void setOnlyIfRequired(boolean flag)
flag
- whether optionally requested attributes should be matchedpublic boolean isMatchIfMetadataSilent()
public void setMatchIfMetadataSilent(boolean flag)
flag
- whether to match if the metadata contains no AttributeConsumingServiceprotected boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext) throws FilterProcessingException
doEvaluatePolicyRequirement
in class AbstractMatchFunctor
filterContext
- current filtering contextFilterProcessingException
- thrown if the function can not be evaluatedprotected boolean doEvaluateValue(ShibbolethFilteringContext filterContext, String attributeId, Object attributeValue) throws FilterProcessingException
doEvaluateValue
in class AbstractMatchFunctor
filterContext
- the current filtering contextattributeId
- ID of the attribute being evaluatedattributeValue
- value of the attribute being evaluatedFilterProcessingException
- thrown if the function can not be evaluatedCopyright © 1999–2014. All rights reserved.