|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor
edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.saml.AbstractNameIDFormatSupportedMatchFunctor
public abstract class AbstractNameIDFormatSupportedMatchFunctor
Base class for matching functions that check if an SAML entity supports a particular NameID format type.
Constructor Summary | |
---|---|
AbstractNameIDFormatSupportedMatchFunctor()
|
Method Summary | |
---|---|
protected boolean |
doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext)
Evaluates this matching criteria. |
protected boolean |
doEvaluateValue(ShibbolethFilteringContext filterContext,
String attributeId,
Object attributeValue)
Evaluates this matching criteria. |
protected abstract org.opensaml.saml2.metadata.SSODescriptor |
getEntitySSODescriptor(ShibbolethFilteringContext filterContext)
Gets the SSO role descriptor for the entity to be checked. |
String |
getNameIdFormat()
Get the NameID format that needs to be supported by the entity. |
protected boolean |
isNameIDFormatSupported(ShibbolethFilteringContext filterContext)
Checks to see if the metadata for the entity supports the required NameID format. |
void |
setNameIdFormat(String format)
Sets the NameID format that needs to be supported by the entity. |
Methods inherited from class edu.internet2.middleware.shibboleth.common.attribute.filtering.provider.match.basic.AbstractMatchFunctor |
---|
evaluateDenyRule, evaluatePermitValue, evaluatePolicyRequirement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractNameIDFormatSupportedMatchFunctor()
Method Detail |
---|
public String getNameIdFormat()
public void setNameIdFormat(String format)
format
- NameID format that needs to be supported by the entityprotected boolean doEvaluatePolicyRequirement(ShibbolethFilteringContext filterContext) throws FilterProcessingException
doEvaluatePolicyRequirement
in class AbstractMatchFunctor
filterContext
- current filtering context
FilterProcessingException
- 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 evaluated
FilterProcessingException
- thrown if the function can not be evaluatedprotected boolean isNameIDFormatSupported(ShibbolethFilteringContext filterContext)
filterContext
- current filter context
protected abstract org.opensaml.saml2.metadata.SSODescriptor getEntitySSODescriptor(ShibbolethFilteringContext filterContext)
filterContext
- current filtering context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |