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

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-trusted-mfa-mongo/src/main/java/org/apereo/cas/config/CasMongoDbMultifactorAuthenticationTrustAutoConfiguration.java