Package jenkins.security.plugins.ldap
Class BindAuthenticator2
- java.lang.Object
-
- org.springframework.security.ldap.authentication.AbstractLdapAuthenticator
-
- org.springframework.security.ldap.authentication.BindAuthenticator
-
- jenkins.security.plugins.ldap.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
-
-
Constructor Summary
Constructors Constructor Description BindAuthenticator2(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.ldap.core.DirContextOperations
authenticate(org.springframework.security.core.Authentication authentication)
protected void
handleBindException(String userDn, String username, Throwable cause)
-
-
-
Method Detail
-
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
-
-