Class DefaultNameIDPolicyPredicate
- java.lang.Object
-
- net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
-
- org.opensaml.saml.common.profile.logic.AbstractNameIDPolicyPredicate
-
- org.opensaml.saml.common.profile.logic.DefaultNameIDPolicyPredicate
-
- All Implemented Interfaces:
Predicate<org.opensaml.profile.context.ProfileRequestContext>
,net.shibboleth.utilities.java.support.component.Component
,net.shibboleth.utilities.java.support.component.DestructableComponent
,net.shibboleth.utilities.java.support.component.InitializableComponent
,net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.profile.context.ProfileRequestContext>
- Direct Known Subclasses:
AffiliationNameIDPolicyPredicate
public class DefaultNameIDPolicyPredicate extends AbstractNameIDPolicyPredicate
Policy that requires that qualifiers, if set, match the requester and responder.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.Logger
log
Class logger.
-
Constructor Summary
Constructors Constructor Description DefaultNameIDPolicyPredicate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doApply(String requesterId, String responderId, String format, String nameQualifier, String spNameQualifier)
Apply the predicate to the request.-
Methods inherited from class org.opensaml.saml.common.profile.logic.AbstractNameIDPolicyPredicate
doInitialize, setFormats, setObjectLookupStrategy, setRequesterIdLookupStrategy, setResponderIdLookupStrategy, test
-
Methods inherited from class net.shibboleth.utilities.java.support.component.AbstractInitializableComponent
destroy, doDestroy, initialize, isDestroyed, isInitialized
-
-
-
-
Method Detail
-
doApply
protected boolean doApply(@Nullable String requesterId, @Nullable String responderId, @Nullable String format, @Nullable String nameQualifier, @Nullable String spNameQualifier)
Apply the predicate to the request.- Specified by:
doApply
in classAbstractNameIDPolicyPredicate
- Parameters:
requesterId
- the requesterresponderId
- the responderformat
- format of identifiernameQualifier
- the NameQualifierspNameQualifier
- the SPNameQualifier- Returns:
- true iff the combination of inputs satisfies a policy
-
-