@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public AuditTrailExecutionPlanConfigurer mongoDbAuditTrailExecutionPlanConfigurer(
        @Qualifier("mongoDbAuditTrailManager") final AuditTrailManager mongoDbAuditTrailManager) {
        return plan -> plan.registerAuditTrailManager(mongoDbAuditTrailManager);
    }
This is {@link CasSupportMongoDbAuditAutoConfiguration}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-audit-mongo/src/main/java/org/apereo/cas/config/CasSupportMongoDbAuditAutoConfiguration.java