Class LdapTls1_1Configuration


  • @Configuration
    @Profile("ldap-auth-tls1-1")
    public class LdapTls1_1Configuration
    extends Object
    • Constructor Detail

      • LdapTls1_1Configuration

        public LdapTls1_1Configuration()
    • Method Detail

      • contextSource

        @Bean
        @ConfigurationProperties("ldap.source")
        public org.springframework.ldap.core.support.LdapContextSource contextSource​(org.springframework.ldap.core.support.DirContextAuthenticationStrategy strategy)
      • strategy

        @Bean
        public org.springframework.ldap.core.support.DirContextAuthenticationStrategy strategy()
      • ldapAttributesProperties

        @Bean
        @ConfigurationProperties("ldap.attributes")
        public LdapAttributesProperties ldapAttributesProperties()
      • ldapTemplate

        @Bean
        public org.springframework.ldap.core.LdapTemplate ldapTemplate​(org.springframework.ldap.core.support.LdapContextSource contextSource)
      • ldapUserDetailsService

        @Bean
        public LdapUserDetailsService ldapUserDetailsService​(org.springframework.ldap.core.LdapTemplate ldapTemplate,
                                                             LdapAttributesProperties ldapAttributesProperties,
                                                             org.springframework.ldap.core.AttributesMapper<UserDto> attributesMapper)
      • userDetailsContextMapper

        @Bean
        public org.springframework.security.ldap.userdetails.UserDetailsContextMapper userDetailsContextMapper​(LdapUserDetailsService ldapUserDetailsService)