Class SaLDAPAuthenticator

java.lang.Object
com.saperion.connector.ldap.SaLDAPAuthenticator

public final class SaLDAPAuthenticator extends Object
LDAP Authenification.
Author:
rbo
  • Method Details

    • getInstance

      public static SaLDAPAuthenticator getInstance(Properties props)
      Get the instance of this class.
      Parameters:
      props - Server properties
      Returns:
      Authenticator
    • authenticate

      public DirContext authenticate(String name, char[] password) throws SaSystemException
      Authenicates the given user against the LDAP server.
      Parameters:
      name - Username
      password - Password
      Returns:
      The context of this user
      Throws:
      SaSystemException - The SaRMICommandException