Class LdapAuthenticationConfiguration


  • @Configuration("ldapAuthenticationConfiguration")
    @EnableConfigurationProperties(org.apereo.cas.configuration.CasConfigurationProperties.class)
    public class LdapAuthenticationConfiguration
    extends java.lang.Object
    This is LdapAuthenticationConfiguration that attempts to create relevant authentication handlers for LDAP.
    Since:
    5.0.0
    • Constructor Detail

      • LdapAuthenticationConfiguration

        public LdapAuthenticationConfiguration()
    • Method Detail

      • ldapPrincipalFactory

        @ConditionalOnMissingBean(name="ldapPrincipalFactory")
        @Bean
        @RefreshScope
        public org.apereo.cas.authentication.principal.PrincipalFactory ldapPrincipalFactory()
      • ldapAuthenticationHandlerSetFactoryBean

        @Bean
        public org.springframework.beans.factory.config.SetFactoryBean ldapAuthenticationHandlerSetFactoryBean()
      • ldapAuthenticationHandlers

        @Bean
        @RefreshScope
        public java.util.Collection<org.apereo.cas.authentication.AuthenticationHandler> ldapAuthenticationHandlers​(@Qualifier("ldapAuthenticationHandlerSetFactoryBean")
                                                                                                                    org.springframework.beans.factory.config.SetFactoryBean ldapAuthenticationHandlerSetFactoryBean)
      • ldapAuthenticationEventExecutionPlanConfigurer

        @ConditionalOnMissingBean(name="ldapAuthenticationEventExecutionPlanConfigurer")
        @Bean
        @Autowired
        @RefreshScope
        public org.apereo.cas.authentication.AuthenticationEventExecutionPlanConfigurer ldapAuthenticationEventExecutionPlanConfigurer​(@Qualifier("ldapAuthenticationHandlerSetFactoryBean")
                                                                                                                                       org.springframework.beans.factory.config.SetFactoryBean ldapAuthenticationHandlerSetFactoryBean)