Class WebAuthnUsernameAuditExtractor
java.lang.Object
net.shibboleth.idp.plugin.authn.webauthn.audit.AbstractWebAuthnAuditExtractor<String>
net.shibboleth.idp.plugin.authn.webauthn.audit.impl.WebAuthnUsernameAuditExtractor
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
Function that returns the internal username from the BaseWebAuthnContext, if any. Noting this is
not necessarily the user.name sent to the authenticator.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoLookup(BaseWebAuthnContext context) Implemented to perform the actual lookup.Methods inherited from class net.shibboleth.idp.plugin.authn.webauthn.audit.AbstractWebAuthnAuditExtractor
apply
-
Constructor Details
-
WebAuthnUsernameAuditExtractor
protected WebAuthnUsernameAuditExtractor(@Nonnull Function<ProfileRequestContext, BaseWebAuthnContext> strategy) Constructor.- Parameters:
strategy- theBaseWebAuthnContextlookup strategy to use.
-
-
Method Details
-
doLookup
Implemented to perform the actual lookup.- Specified by:
doLookupin classAbstractWebAuthnAuditExtractor<String>- Parameters:
context- the base WebAuthn context- Returns:
- lookup value or
nullif not found
-