Class AbstractWebAuthnManagementAuditExtractor<T>
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.audit.AbstractWebAuthnManagementAuditExtractor<T>
- Type Parameters:
T- the type to extract
- All Implemented Interfaces:
Function<ProfileRequestContext,T>
- Direct Known Subclasses:
WebAuthnCredentialToRemoveAuditExtractor,WebAuthnSearchUserAuditExtractor
@ThreadSafe
public abstract class AbstractWebAuthnManagementAuditExtractor<T>
extends Object
implements Function<ProfileRequestContext,T>
An abstract audit extractor function to extract values directly from the WebAuthn management context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ProfileRequestContext,WebAuthnManagementContext> Lookup strategy to locate the WebAuthn management context. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractWebAuthnManagementAuditExtractor(Function<ProfileRequestContext, WebAuthnManagementContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext profileRequestContext) protected abstract TdoLookup(WebAuthnManagementContext context) Implemented to perform the actual lookup.
-
Field Details
-
webAuthnManagementContextLookupStrategy
@Nonnull private final Function<ProfileRequestContext,WebAuthnManagementContext> webAuthnManagementContextLookupStrategyLookup strategy to locate the WebAuthn management context.
-
-
Constructor Details
-
AbstractWebAuthnManagementAuditExtractor
protected AbstractWebAuthnManagementAuditExtractor(@Nonnull Function<ProfileRequestContext, WebAuthnManagementContext> strategy) Constructor.- Parameters:
strategy- the strategy used to locate theWebAuthnManagementContext.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,T>
-
doLookup
Implemented to perform the actual lookup.- Parameters:
context- the base WebAuthn management context- Returns:
- lookup value or
nullif not found
-