Class CassandraAuthenticationConfiguration


  • @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    @Configuration(value="CassandraAuthenticationConfiguration",
                   proxyBeanMethods=false)
    public class CassandraAuthenticationConfiguration
    extends java.lang.Object
    Since:
    5.2.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurer cassandraAuthenticationEventExecutionPlanConfigurer​(org.apereo.cas.authentication.AuthenticationHandler cassandraAuthenticationHandler, org.apereo.cas.authentication.principal.PrincipalResolver defaultPrincipalResolver)  
      org.apereo.cas.authentication.AuthenticationHandler cassandraAuthenticationHandler​(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.springframework.context.ConfigurableApplicationContext applicationContext, org.apereo.cas.authentication.principal.PrincipalFactory cassandraPrincipalFactory, CassandraRepository cassandraRepository, org.apereo.cas.services.ServicesManager servicesManager)  
      org.apereo.cas.cassandra.CassandraSessionFactory cassandraAuthnSessionFactory​(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.authentication.CasSSLContext casSslContext)  
      org.apereo.cas.authentication.principal.PrincipalFactory cassandraPrincipalFactory()  
      CassandraRepository cassandraRepository​(org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.cassandra.CassandraSessionFactory cassandraAuthnSessionFactory)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CassandraAuthenticationConfiguration

        public CassandraAuthenticationConfiguration()
    • Method Detail

      • cassandraPrincipalFactory

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.apereo.cas.authentication.principal.PrincipalFactory cassandraPrincipalFactory()
      • cassandraAuthnSessionFactory

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        @ConditionalOnMissingBean(name="cassandraAuthnSessionFactory")
        public org.apereo.cas.cassandra.CassandraSessionFactory cassandraAuthnSessionFactory​(org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                                                                             @Qualifier("casSslContext")
                                                                                             org.apereo.cas.authentication.CasSSLContext casSslContext)
      • cassandraRepository

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public CassandraRepository cassandraRepository​(org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                                       @Qualifier("cassandraAuthnSessionFactory")
                                                       org.apereo.cas.cassandra.CassandraSessionFactory cassandraAuthnSessionFactory)
      • cassandraAuthenticationHandler

        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.apereo.cas.authentication.AuthenticationHandler cassandraAuthenticationHandler​(org.apereo.cas.configuration.CasConfigurationProperties casProperties,
                                                                                                  org.springframework.context.ConfigurableApplicationContext applicationContext,
                                                                                                  @Qualifier("cassandraPrincipalFactory")
                                                                                                  org.apereo.cas.authentication.principal.PrincipalFactory cassandraPrincipalFactory,
                                                                                                  @Qualifier("cassandraRepository")
                                                                                                  CassandraRepository cassandraRepository,
                                                                                                  @Qualifier("servicesManager")
                                                                                                  org.apereo.cas.services.ServicesManager servicesManager)
      • cassandraAuthenticationEventExecutionPlanConfigurer

        @ConditionalOnMissingBean(name="cassandraAuthenticationEventExecutionPlanConfigurer")
        @Bean
        @RefreshScope(proxyMode=DEFAULT)
        public org.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurer cassandraAuthenticationEventExecutionPlanConfigurer​(@Qualifier("cassandraAuthenticationHandler")
                                                                                                                                            org.apereo.cas.authentication.AuthenticationHandler cassandraAuthenticationHandler,
                                                                                                                                            @Qualifier("defaultPrincipalResolver")
                                                                                                                                            org.apereo.cas.authentication.principal.PrincipalResolver defaultPrincipalResolver)