public class AffiliationNameIDPolicyPredicate extends DefaultNameIDPolicyPredicate
If an SPNameQualifier value is non-null, the value must match the
request issuer, or must be an identifier for a SAML AffiliationDescriptor
that
contains the issuer.
Modifier and Type | Field and Description |
---|---|
private Logger |
log
Class logger.
|
private MetadataResolver |
metadataResolver
Metadata resolver to use.
|
Constructor and Description |
---|
AffiliationNameIDPolicyPredicate() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doApply(String requesterId,
String responderId,
String format,
String nameQualifier,
String spNameQualifier)
Apply the predicate to the request.
|
protected void |
doInitialize() |
void |
setMetadataResolver(MetadataResolver resolver)
Set the metadata resolver to use.
|
apply, setFormats, setObjectLookupStrategy, setRequesterIdLookupStrategy, setResponderIdLookupStrategy
destroy, doDestroy, initialize, isDestroyed, isInitialized
@NonnullAfterInit private MetadataResolver metadataResolver
public void setMetadataResolver(@Nonnull MetadataResolver resolver)
resolver
- resolver to useprotected void doInitialize() throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize
in class AbstractNameIDPolicyPredicate
net.shibboleth.utilities.java.support.component.ComponentInitializationException
protected boolean doApply(@Nullable String requesterId, @Nullable String responderId, @Nullable String format, @Nullable String nameQualifier, @Nullable String spNameQualifier)
doApply
in class DefaultNameIDPolicyPredicate
requesterId
- the requesterresponderId
- the responderformat
- format of identifiernameQualifier
- the NameQualifierspNameQualifier
- the SPNameQualifierCopyright © 1999–2015 JBoss by Red Hat. All rights reserved.