diff --git a/services/src/main/java/org/keycloak/authentication/requiredactions/WebAuthnRegister.java b/services/src/main/java/org/keycloak/authentication/requiredactions/WebAuthnRegister.java index 7dbd5c7876..14a8d308a6 100644 --- a/services/src/main/java/org/keycloak/authentication/requiredactions/WebAuthnRegister.java +++ b/services/src/main/java/org/keycloak/authentication/requiredactions/WebAuthnRegister.java @@ -296,7 +296,13 @@ public class WebAuthnRegister implements RequiredActionProvider, CredentialRegis } } - private WebAuthnRegistrationManager createWebAuthnRegistrationManager() { + /** + * Create WebAuthnRegistrationManager instance + * Can be overridden in subclasses to customize the used attestation validators + * + * @return webauthn4j WebAuthnRegistrationManager instance + */ + protected WebAuthnRegistrationManager createWebAuthnRegistrationManager() { return new WebAuthnRegistrationManager( Arrays.asList( new NoneAttestationStatementValidator(),