Class RegistrationContextCredentialToModifyConsumer
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
net.shibboleth.idp.plugin.authn.webauthn.admin.impl.RegistrationContextCredentialToModifyConsumer
- All Implemented Interfaces:
BiConsumer<ProfileRequestContext,,byte[]> Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class RegistrationContextCredentialToModifyConsumer
extends AbstractIdentifiableInitializableComponent
implements BiConsumer<ProfileRequestContext,byte[]>
A
BiConsumer that sets the credential ID to modify onto the WebAuthn registration context.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.Lookup strategy to locate the WebAuthn registration context. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ProfileRequestContext prc, byte[] credentialId) voidsetWebauthnRegistrationContextLookupStrategy(Function<ProfileRequestContext, WebAuthnRegistrationContext> strategy) Set WebAuthn registration context lookup strategy to use.Methods inherited from class net.shibboleth.shared.component.AbstractIdentifiableInitializableComponent
setIdMethods inherited from class net.shibboleth.shared.component.AbstractIdentifiedInitializableComponent
doInitialize, ensureId, getId, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentExceptionMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThenMethods inherited from interface net.shibboleth.shared.component.IdentifiedComponent
getId
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
webauthnRegistrationContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,WebAuthnRegistrationContext> webauthnRegistrationContextLookupStrategyLookup strategy to locate the WebAuthn registration context.
-
-
Constructor Details
-
RegistrationContextCredentialToModifyConsumer
protected RegistrationContextCredentialToModifyConsumer()Constructor.
-
-
Method Details
-
setWebauthnRegistrationContextLookupStrategy
public void setWebauthnRegistrationContextLookupStrategy(@Nonnull Function<ProfileRequestContext, WebAuthnRegistrationContext> strategy) Set WebAuthn registration context lookup strategy to use.- Parameters:
strategy- lookup strategy
-
accept
- Specified by:
acceptin interfaceBiConsumer<ProfileRequestContext,byte[]>
-