@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        public PlatformTransactionManager jpaMfaTrustTransactionManager(
            final ConfigurableApplicationContext applicationContext,
            @Qualifier("mfaTrustedAuthnEntityManagerFactory") final EntityManagerFactory emf) {
            val transactionManager = new JpaTransactionManager();
            transactionManager.setEntityManagerFactory(emf);
            return transactionManager;
        }
This is {@link CasJdbcMultifactorAuthnTrustAutoConfiguration}.

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