Class MidPointLdapAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.context.MessageSourceAware, org.springframework.security.authentication.AuthenticationProvider

    public class MidPointLdapAuthenticationProvider
    extends org.springframework.security.ldap.authentication.LdapAuthenticationProvider
    • Field Summary

      • Fields inherited from class org.springframework.security.ldap.authentication.AbstractLdapAuthenticationProvider

        logger, messages, userDetailsContextMapper
    • Constructor Summary

      Constructors 
      Constructor Description
      MidPointLdapAuthenticationProvider​(org.springframework.security.ldap.authentication.LdapAuthenticator authenticator)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.springframework.security.core.Authentication createSuccessfulAuthentication​(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication, org.springframework.security.core.userdetails.UserDetails user)  
      protected org.springframework.ldap.core.DirContextOperations doAuthentication​(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)  
      • Methods inherited from class org.springframework.security.ldap.authentication.LdapAuthenticationProvider

        getAuthoritiesPopulator, loadUserAuthorities, setHideUserNotFoundExceptions
      • Methods inherited from class org.springframework.security.ldap.authentication.AbstractLdapAuthenticationProvider

        authenticate, getUserDetailsContextMapper, setAuthoritiesMapper, setMessageSource, setUseAuthenticationRequestCredentials, setUserDetailsContextMapper, supports
    • Constructor Detail

      • MidPointLdapAuthenticationProvider

        public MidPointLdapAuthenticationProvider​(org.springframework.security.ldap.authentication.LdapAuthenticator authenticator)
    • Method Detail

      • doAuthentication

        protected org.springframework.ldap.core.DirContextOperations doAuthentication​(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication)
        Overrides:
        doAuthentication in class org.springframework.security.ldap.authentication.LdapAuthenticationProvider
      • createSuccessfulAuthentication

        protected org.springframework.security.core.Authentication createSuccessfulAuthentication​(org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication,
                                                                                                  org.springframework.security.core.userdetails.UserDetails user)
        Overrides:
        createSuccessfulAuthentication in class org.springframework.security.ldap.authentication.AbstractLdapAuthenticationProvider