Class StaticSeedSource
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.idp.plugin.authn.totp.impl.AbstractSeedSource
net.shibboleth.idp.plugin.authn.totp.impl.StaticSeedSource
- All Implemented Interfaces:
Consumer<ProfileRequestContext>,Component,DestructableComponent,InitializableComponent
Token seed source implementation that returns statically defined values.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.shibboleth.idp.plugin.authn.totp.impl.AbstractSeedSource
AbstractSeedSource.Encoding -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.Token seeds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ProfileRequestContext input) voidsetSeeds(Map<String, Collection<String>> seeds) Set static token seeds, keyed by username.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, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitialized
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
tokenSeeds
Token seeds.
-
-
Constructor Details
-
StaticSeedSource
public StaticSeedSource()Constructor.
-
-
Method Details
-
setSeeds
Set static token seeds, keyed by username.- Parameters:
seeds- the seeds
-
accept
-