Class CheckRegistrationPolicy

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

public class CheckRegistrationPolicy extends AbstractWebAuthnAction<WebAuthnRegistrationContext>
A registration policy engine action that checks with the configured policy if the authenticator can be used to register credentials with the IdP.
Event:
{WebAuthnRegistrationEventIds#INVALID_REGISTRATION_CTX}
Precondition:
ProfileRequestContext.getSubcontext(WebAuthnRegistrationContext.class) != null
Postcondition:
the authenticator is allowed to register a credential, or an error event is triggered
  • Field Details

    • log

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

      @NonnullBeforeExec private com.yubico.webauthn.data.PublicKeyCredential<com.yubico.webauthn.data.AuthenticatorAttestationResponse,com.yubico.webauthn.data.ClientRegistrationExtensionOutputs> attestation
      The stashed attestation response.
    • authenticatorPolicy

      @Nullable private AuthenticatorPolicy authenticatorPolicy
      The authenticator policy to check.
  • Constructor Details

    • CheckRegistrationPolicy

      protected CheckRegistrationPolicy()
      Constructor.
  • Method Details