Class WebAuthnUserCredentialAddedAuditExtractor
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.audit.AbstractWebAuthnRegistrationAuditExtractor<String>
net.shibboleth.idp.plugin.authn.webauthn.audit.impl.WebAuthnUserCredentialAddedAuditExtractor
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
public class WebAuthnUserCredentialAddedAuditExtractor
extends AbstractWebAuthnRegistrationAuditExtractor<String>
Function that returns the base64 encoded credential identifier of the credential that has been removed.-
Constructor Summary
ConstructorsConstructorDescriptionWebAuthnUserCredentialAddedAuditExtractor(Function<ProfileRequestContext, WebAuthnRegistrationContext> strategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoLookup(WebAuthnRegistrationContext context) Implemented to perform the actual lookup.Methods inherited from class net.shibboleth.idp.plugin.authn.webauthn.audit.AbstractWebAuthnRegistrationAuditExtractor
apply
-
Constructor Details
-
WebAuthnUserCredentialAddedAuditExtractor
public WebAuthnUserCredentialAddedAuditExtractor(@Nonnull Function<ProfileRequestContext, WebAuthnRegistrationContext> strategy) Constructor.- Parameters:
strategy- the strategy used to locate theWebAuthnRegistrationContext.
-
-
Method Details
-
doLookup
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractWebAuthnRegistrationAuditExtractor<String>- Parameters:
context- the WebAuthn registration context- Returns:
- lookup value or
nullif not found
-