@ThreadSafeAfterInit public class TransientSAML2NameIDGenerator extends AbstractSAML2NameIDGenerator
NameID objects.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private com.google.common.base.Function<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(ProfileRequestContext profileRequestContext) |
void |
setSubjectContextLookupStrategy(com.google.common.base.Function<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 com.google.common.base.Function<ProfileRequestContext,SubjectContext> subjectContextLookupStrategy
@NonnullAfterInit private TransientIdGenerationStrategy transientIdGenerator
public TransientSAML2NameIDGenerator()
public void setSubjectContextLookupStrategy(@Nonnull com.google.common.base.Function<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 AbstractNameIdentifierGenerator<NameID>ComponentInitializationException@Nullable protected String getIdentifier(@Nonnull ProfileRequestContext profileRequestContext) throws SAMLException
getIdentifier in class AbstractNameIdentifierGenerator<NameID>SAMLExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.