Class LDAPAuthenticator

java.lang.Object
com.erudika.para.server.security.LDAPAuthenticator
All Implemented Interfaces:
org.springframework.security.ldap.authentication.LdapAuthenticator

public final class LDAPAuthenticator extends Object implements org.springframework.security.ldap.authentication.LdapAuthenticator
LDAP authenticator for either bind-based or password comparison authentication.
Author:
Alex Bogdanovski [[email protected]]
  • Constructor Details

    • LDAPAuthenticator

      public LDAPAuthenticator(Map<String,String> ldapSettings)
      Default constructor.
      Parameters:
      ldapSettings - LDAP config map for an app
  • 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