Class LdapBindAuthenticationManagerFactory
java.lang.Object
org.springframework.security.config.ldap.AbstractLdapAuthenticationManagerFactory<BindAuthenticator>
org.springframework.security.config.ldap.LdapBindAuthenticationManagerFactory
public class LdapBindAuthenticationManagerFactory
extends AbstractLdapAuthenticationManagerFactory<BindAuthenticator>
Creates an
AuthenticationManager
that can perform LDAP authentication using
bind authentication.- Since:
- 5.7
-
Constructor Summary
ConstructorDescriptionLdapBindAuthenticationManagerFactory
(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource) -
Method Summary
Modifier and TypeMethodDescriptionprotected BindAuthenticator
Allows subclasses to supply the defaultAbstractLdapAuthenticator
.Methods inherited from class org.springframework.security.config.ldap.AbstractLdapAuthenticationManagerFactory
createAuthenticationManager, getContextSource, setAuthoritiesMapper, setContextSource, setLdapAuthoritiesPopulator, setUserDetailsContextMapper, setUserDnPatterns, setUserSearchBase, setUserSearchFilter
-
Constructor Details
-
LdapBindAuthenticationManagerFactory
public LdapBindAuthenticationManagerFactory(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
-
-
Method Details
-
createDefaultLdapAuthenticator
Description copied from class:AbstractLdapAuthenticationManagerFactory
Allows subclasses to supply the defaultAbstractLdapAuthenticator
.- Specified by:
createDefaultLdapAuthenticator
in classAbstractLdapAuthenticationManagerFactory<BindAuthenticator>
- Returns:
- the
AbstractLdapAuthenticator
that will be configured for LDAP authentication
-