@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @Bean
    public PersistenceExceptionTranslationPostProcessor persistenceExceptionTranslationPostProcessor() {
        return new PersistenceExceptionTranslationPostProcessor();
    }
This is {@link CasMongoDbWebAuthnAutoConfiguration}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-webauthn-mongo/src/main/java/org/apereo/cas/config/CasMongoDbWebAuthnAutoConfiguration.java