Class ExtractPublicKeyCredentialAssertionFromFormRequest

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class ExtractPublicKeyCredentialAssertionFromFormRequest extends AbstractWebAuthnAction<WebAuthnAuthenticationContext>
An action that extracts the PublicKeyCredential containing the authenticator assertion response from the incoming HTTP request.
Event:
AuthnEventIds.NO_CREDENTIALS
Precondition:
ProfileRequestContext.getSubcontext(WebAuthnAuthenticationContext.class) != null
Postcondition:
WebAuthnAuthenticationContext.getAuthenticatorAssertionResponse() == null
  • Field Details

    • DEFAULT_PARAMETER_NAME

      @Nonnull @NotEmpty public static final String DEFAULT_PARAMETER_NAME
      Default public key credential assertion parameter name.
      See Also:
    • log

      @Nonnull private final org.slf4j.Logger log
      Class logger.
    • publicKeyCredentialAssertionParameterName

      @NonnullAfterInit @NotEmpty private String publicKeyCredentialAssertionParameterName
      Name of public key credential with the assertion response parameter.
    • objectMapper

      @NonnullAfterInit private com.fasterxml.jackson.databind.ObjectMapper objectMapper
      JSON object mapper.
  • Constructor Details

    • ExtractPublicKeyCredentialAssertionFromFormRequest

      public ExtractPublicKeyCredentialAssertionFromFormRequest()
      Constructor.
  • Method Details