public class TransientIdAttributeDefinition extends net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinition
The generation in devolved to the supplied TransientIdGenerationStrategy, which will be a
StoredTransientIdGenerationStrategy for the Transient and
CryptoTransientIdGenerationStrategy for a CryptoTransient.
| Modifier and Type | Field and Description |
|---|---|
private TransientIdGenerationStrategy |
idGenerator
The actual implementation of the transient generation process.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
TransientIdAttributeDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected IdPAttribute |
doAttributeDefinitionResolve(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext,
net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) |
protected void |
doInitialize() |
private String |
getAttributeRecipientID(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext)
Police and get the AttributeRecipientID.
|
private String |
getPrincipal(net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext context)
Police and get the Principal.
|
TransientIdGenerationStrategy |
getTransientIdGenerationStrategy()
return the id generator being used.
|
void |
setTransientIdGenerationStrategy(TransientIdGenerationStrategy generator)
Set the id generator being used.
|
doResolve, getAttributeEncoders, getDisplayDescriptions, getDisplayNames, getLogPrefix, getSourceAttributeId, isDependencyOnly, setAttributeEncoders, setDependencyOnly, setDisplayDescriptions, setDisplayNames, setSourceAttributeIddoDestroy, equals, getActivationCondition, getDependencies, getProfileContextStrategy, hashCode, isPropagateResolutionExceptions, resolve, setActivationCondition, setDependencies, setProfileContextStrategy, setPropagateResolutionExceptionssetIdgetIddestroy, initialize, isDestroyed, isInitializedclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetActivationCondition, getDependencies, isPropagateResolutionExceptions, resolveinitialize, isInitializeddestroy, isDestroyedgetId@Nonnull private final org.slf4j.Logger log
@Nonnull private TransientIdGenerationStrategy idGenerator
protected void doInitialize()
throws ComponentInitializationException
doInitialize in class net.shibboleth.idp.attribute.resolver.AbstractAttributeDefinitionComponentInitializationException@Nonnull public void setTransientIdGenerationStrategy(@Nonnull TransientIdGenerationStrategy generator)
generator - the (crypto or transient) generator to use@Nonnull public TransientIdGenerationStrategy getTransientIdGenerationStrategy()
@Nonnull protected IdPAttribute doAttributeDefinitionResolve(@Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext, @Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolverWorkContext workContext) throws net.shibboleth.idp.attribute.resolver.ResolutionException
@Nonnull @NotEmpty private String getAttributeRecipientID(@Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext resolutionContext) throws net.shibboleth.idp.attribute.resolver.ResolutionException
resolutionContext - where to looknet.shibboleth.idp.attribute.resolver.ResolutionException - if it was non null@Nonnull @NotEmpty private String getPrincipal(@Nonnull net.shibboleth.idp.attribute.resolver.context.AttributeResolutionContext context) throws net.shibboleth.idp.attribute.resolver.ResolutionException
context - where to looknet.shibboleth.idp.attribute.resolver.ResolutionException - if it was non nullCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.