Class AttributeResolverSeedSource
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.plugin.authn.totp.impl.AbstractSeedSource
net.shibboleth.idp.plugin.authn.totp.impl.AttributeResolverSeedSource
- All Implemented Interfaces:
Consumer<ProfileRequestContext>,Component,DestructableComponent,InitializableComponent
Token seed source implementation that leverages the
AttributeResolver.-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.idp.plugin.authn.totp.impl.AbstractSeedSource
AbstractSeedSource.Encoding -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate StringAttribute ID to resolve.private ReloadableService<AttributeResolver>Attribute resolver service.static final StringDefault attribute ID source.private final org.slf4j.LoggerClass logger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ProfileRequestContext input) protected voidvoidSet theAttributeResolverto use.voidSet the source attribute ID to resolve.Methods inherited from class net.shibboleth.idp.plugin.authn.totp.impl.AbstractSeedSource
getEncoding, getTOTPContextLookupStrategy, setEncoding, setTOTPContextLookupStrategyMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitialized
-
Field Details
-
DEFAULT_ATTRIBUTE_ID
Default attribute ID source.- See Also:
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
attributeResolver
Attribute resolver service. -
attributeId
Attribute ID to resolve.
-
-
Constructor Details
-
AttributeResolverSeedSource
public AttributeResolverSeedSource()
-
-
Method Details
-
setSourceAttribute
Set the source attribute ID to resolve.- Parameters:
id- attribute ID
-
doInitialize
- Overrides:
doInitializein classAbstractInitializableComponent- Throws:
ComponentInitializationException
-
accept