Class ManagementContextCredentialRemovalConsumer
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.ManagementContextCredentialRemovalConsumer
- All Implemented Interfaces:
BiConsumer<ProfileRequestContext,,byte[]> Component,DestructableComponent,IdentifiableComponent,IdentifiedComponent,InitializableComponent
public class ManagementContextCredentialRemovalConsumer
extends AbstractIdentifiableInitializableComponent
implements BiConsumer<ProfileRequestContext,byte[]>
A
BiConsumer that sets the credential ID to remove onto the WebAuthn management context.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.LoggerClass logger.Lookup strategy to locate the webauthn management context. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ProfileRequestContext prc, byte[] credentialId) voidsetWebauthnManagementContextLookupStrategy(Function<ProfileRequestContext, WebAuthnManagementContext> strategy) Set WebAuthn management 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
Class logger. -
webauthnManagementContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,WebAuthnManagementContext> webauthnManagementContextLookupStrategyLookup strategy to locate the webauthn management context.
-
-
Constructor Details
-
ManagementContextCredentialRemovalConsumer
protected ManagementContextCredentialRemovalConsumer()Constructor.
-
-
Method Details
-
setWebauthnManagementContextLookupStrategy
public void setWebauthnManagementContextLookupStrategy(@Nonnull Function<ProfileRequestContext, WebAuthnManagementContext> strategy) Set WebAuthn management context lookup strategy to use.- Parameters:
strategy- lookup strategy
-
accept
- Specified by:
acceptin interfaceBiConsumer<ProfileRequestContext,byte[]>
-