Make createWebAuthnRegistrationManager protected to allow cutomizations in subclasses (#33639)
closes #33678 Signed-off-by: Dominik Schlosser <dominik.schlosser@gmail.com>
This commit is contained in:
parent
611e6d102e
commit
2c9e279213
1 changed files with 7 additions and 1 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue