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

    Constructors
    Constructor
    Description
    BindAuthenticator2(org.springframework.ldap.core.support.BaseLdapPathContextSource contextSource)
     
  • Method Summary

    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)
     

    Methods inherited from class org.springframework.security.ldap.authentication.AbstractLdapAuthenticator

    afterPropertiesSet, getContextSource, getUserAttributes, getUserDns, getUserSearch, setMessageSource, setUserAttributes, setUserDnPatterns, setUserSearch

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.springframework.security.ldap.authentication.LdapAuthenticator
      Overrides:
      authenticate in class org.springframework.security.ldap.authentication.BindAuthenticator
    • handleBindException

      protected void handleBindException(String userDn, String username, Throwable cause)
      Overrides:
      handleBindException in class org.springframework.security.ldap.authentication.BindAuthenticator