Class LdapTls1_1Configuration
- java.lang.Object
-
- com.chutneytesting.security.infra.ldap.LdapTls1_1Configuration
-
@Configuration @Profile("ldap-auth-tls1-1") public class LdapTls1_1Configuration extends Object
-
-
Constructor Summary
Constructors Constructor Description LdapTls1_1Configuration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.ldap.core.AttributesMapper<UserDto>attributesMapper(LdapAttributesProperties ldapAttributesProperties, String ldapGroupsPattern, AuthenticationService authenticationService)org.springframework.ldap.core.support.LdapContextSourcecontextSource(org.springframework.ldap.core.support.DirContextAuthenticationStrategy strategy)LdapAttributesPropertiesldapAttributesProperties()org.springframework.ldap.core.LdapTemplateldapTemplate(org.springframework.ldap.core.support.LdapContextSource contextSource)LdapUserDetailsServiceldapUserDetailsService(org.springframework.ldap.core.LdapTemplate ldapTemplate, LdapAttributesProperties ldapAttributesProperties, org.springframework.ldap.core.AttributesMapper<UserDto> attributesMapper)org.springframework.ldap.core.support.DirContextAuthenticationStrategystrategy()org.springframework.security.ldap.userdetails.UserDetailsContextMapperuserDetailsContextMapper(LdapUserDetailsService ldapUserDetailsService)
-
-
-
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)
-
attributesMapper
@Bean public org.springframework.ldap.core.AttributesMapper<UserDto> attributesMapper(LdapAttributesProperties ldapAttributesProperties, @Value("${ldap.groups-pattern}") String ldapGroupsPattern, AuthenticationService authenticationService)
-
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)
-
-