Class BindAuthenticator2
- java.lang.Object
-
- org.acegisecurity.providers.ldap.authenticator.AbstractLdapAuthenticator
-
- org.acegisecurity.providers.ldap.authenticator.BindAuthenticator
-
- org.acegisecurity.providers.ldap.authenticator.BindAuthenticator2
-
- All Implemented Interfaces:
org.acegisecurity.providers.ldap.LdapAuthenticator
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.MessageSourceAware
public class BindAuthenticator2 extends org.acegisecurity.providers.ldap.authenticator.BindAuthenticator
BindAuthenticator
with improved diagnostics.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description BindAuthenticator2(org.acegisecurity.ldap.InitialDirContextFactory initialDirContextFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.acegisecurity.userdetails.ldap.LdapUserDetails
authenticate(String username, String password)
-
Methods inherited from class org.acegisecurity.providers.ldap.authenticator.AbstractLdapAuthenticator
afterPropertiesSet, getInitialDirContextFactory, getUserAttributes, getUserDetailsMapper, getUserDns, getUserSearch, setMessageSource, setUserAttributes, setUserDetailsMapper, setUserDnPatterns, setUserSearch
-
-
-
-
Method Detail
-
authenticate
public org.acegisecurity.userdetails.ldap.LdapUserDetails authenticate(String username, String password)
- Specified by:
authenticate
in interfaceorg.acegisecurity.providers.ldap.LdapAuthenticator
- Overrides:
authenticate
in classorg.acegisecurity.providers.ldap.authenticator.BindAuthenticator
-
-