Class CheckCredentialPolicy

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

public class CheckCredentialPolicy extends AbstractWebAuthnAction<WebAuthnAuthenticationContext>
A policy engine action that checks with the configured policy if the credential can be used to authenticate.
Event:
{EventIds#INVALID_PROFILE_CTX}\, {WebAuthnAuthenticationEventIds#CREDENTIAL_POLICY_REJECTION}
Precondition:
ProfileRequestContext.getSubcontext(WebAuthnRegistrationContext.class) != null
Postcondition:
the credential is allowed to be used for authentication, or an error event is triggered