Class MongoDbEventsConfiguration


  • @Configuration("mongoDbEventsConfiguration")
    @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    public class MongoDbEventsConfiguration
    extends java.lang.Object
    This is MongoDbEventsConfiguration, defines certain beans via configuration while delegating some to Spring namespaces inside the context config file.
    Since:
    5.0.0
    • Constructor Detail

      • MongoDbEventsConfiguration

        public MongoDbEventsConfiguration()
    • Method Detail

      • persistenceExceptionTranslationPostProcessor

        @RefreshScope
        @Bean
        public org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor persistenceExceptionTranslationPostProcessor()
      • mongoEventsTemplate

        @RefreshScope
        @Bean
        public org.springframework.data.mongodb.core.MongoTemplate mongoEventsTemplate()
      • casEventRepository

        @Bean
        public org.apereo.cas.support.events.CasEventRepository casEventRepository()