@ThreadSafeAfterInit public class TransientSAML2NameIDGenerator extends org.opensaml.saml.saml2.profile.AbstractSAML2NameIDGenerator
NameID objects.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> |
subjectContextLookupStrategy
Strategy function to lookup SubjectContext.
|
private TransientIdGenerationStrategy |
transientIdGenerator
Generator for transients.
|
| Constructor and Description |
|---|
TransientSAML2NameIDGenerator()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
protected String |
getIdentifier(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
void |
setSubjectContextLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> strategy)
Set the lookup strategy to use to locate the
SubjectContext. |
void |
setTransientIdGenerator(TransientIdGenerationStrategy generator)
Set the generator of transient IDs.
|
doGenerate, getEffectiveSPNameQualifier, setRequestLookupStrategyapply, getDefaultIdPNameQualifierLookupStrategy, getDefaultSPNameQualifierLookupStrategy, getEffectiveIdPNameQualifier, getFormat, getIdPNameQualifier, getSPNameQualifier, getSPProvidedID, isOmitQualifiers, setActivationCondition, setDefaultIdPNameQualifierLookupStrategy, setDefaultSPNameQualifierLookupStrategy, setFormat, setIdPNameQualifier, setOmitQualifiers, setSPNameQualifier, setSPProvidedIdsetIdgetIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId@Nonnull private final org.slf4j.Logger log
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> subjectContextLookupStrategy
@NonnullAfterInit private TransientIdGenerationStrategy transientIdGenerator
public TransientSAML2NameIDGenerator()
public void setSubjectContextLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,SubjectContext> strategy)
SubjectContext.strategy - lookup function to usepublic void setTransientIdGenerator(@Nonnull TransientIdGenerationStrategy generator)
generator - transient ID generatorprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class org.opensaml.saml.common.profile.AbstractNameIdentifierGenerator<org.opensaml.saml.saml2.core.NameID>ComponentInitializationException@Nullable protected String getIdentifier(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext) throws org.opensaml.saml.common.SAMLException
getIdentifier in class org.opensaml.saml.common.profile.AbstractNameIdentifierGenerator<org.opensaml.saml.saml2.core.NameID>org.opensaml.saml.common.SAMLExceptionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.