Class BindAuthenticator2
java.lang.Object
org.springframework.security.ldap.authentication.AbstractLdapAuthenticator
org.springframework.security.ldap.authentication.BindAuthenticator
org.jenkinsci.plugins.reverse_proxy_auth.BindAuthenticator2
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.MessageSourceAware
,org.springframework.security.ldap.authentication.LdapAuthenticator
public class BindAuthenticator2
extends org.springframework.security.ldap.authentication.BindAuthenticator
BindAuthenticator
with improved diagnostics.- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.springframework.security.ldap.authentication.AbstractLdapAuthenticator
messages
-
Constructor Summary
ConstructorDescriptionBindAuthenticator2
(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.ldap.core.DirContextOperations
authenticate
(org.springframework.security.core.Authentication authentication) protected void
handleBindException
(String userDn, String username, Throwable cause) Methods inherited from class org.springframework.security.ldap.authentication.AbstractLdapAuthenticator
afterPropertiesSet, getContextSource, getUserAttributes, getUserDns, getUserSearch, setMessageSource, setUserAttributes, setUserDnPatterns, setUserSearch
-
Constructor Details
-
BindAuthenticator2
public BindAuthenticator2(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
-
-
Method Details
-
authenticate
public org.springframework.ldap.core.DirContextOperations authenticate(org.springframework.security.core.Authentication authentication) - Specified by:
authenticate
in interfaceorg.springframework.security.ldap.authentication.LdapAuthenticator
- Overrides:
authenticate
in classorg.springframework.security.ldap.authentication.BindAuthenticator
-
handleBindException
- Overrides:
handleBindException
in classorg.springframework.security.ldap.authentication.BindAuthenticator
-