Class LdapSecurityConfiguration
java.lang.Object
fr.enedis.chutney.security.infra.ldap.LdapSecurityConfiguration
@Configuration
@Profile({"ldap-auth","ldap-auth-tls1-1"})
public class LdapSecurityConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth, org.springframework.ldap.core.support.LdapContextSource ldapContextSource, org.springframework.security.ldap.userdetails.UserDetailsContextMapper userDetailsContextMapper)
-
Constructor Details
-
LdapSecurityConfiguration
public LdapSecurityConfiguration()
-
-
Method Details
-
configure
@Autowired protected void configure(org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder auth, org.springframework.ldap.core.support.LdapContextSource ldapContextSource, org.springframework.security.ldap.userdetails.UserDetailsContextMapper userDetailsContextMapper) throws Exception - Throws:
Exception
-