IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.security.plugins.builtins
Class LDAPAuthenticatorHelper

java.lang.Object
  extended by com.ibm.websphere.objectgrid.security.plugins.builtins.LDAPAuthenticatorHelper

Deprecated. This plug-in is deprecated in version 8.6.

public class LDAPAuthenticatorHelper
extends Object

This class is an LDAP Authenticator helper class used to connect to an LDAP Server using a user name and password. If the LDAP server can be connected to using the user name and password, the user name and password are considered valid.

Since:
WAS XD 6.0.1

Constructor Summary
LDAPAuthenticatorHelper(String _providerURL, String _factoryClass)
          Deprecated. Creates a new LDAPAuthenticatorHelper
 
Method Summary
 String[] authenticate(String user, String pwd)
          Deprecated. Authenticates the user to the LDAP directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPAuthenticatorHelper

public LDAPAuthenticatorHelper(String _providerURL,
                               String _factoryClass)
Deprecated. 
Creates a new LDAPAuthenticatorHelper

Parameters:
_providerURL - the providerURL of the LDAP server
_factoryClass - the implementation class of the LDAP initial context factory.
Method Detail

authenticate

public String[] authenticate(String user,
                             String pwd)
                      throws NamingException
Deprecated. 
Authenticates the user to the LDAP directory.

Parameters:
user - the user name, e.g., uid=xxxxxx,c=us,ou=bluepages,o=ibm.com
pwd - the password
Returns:
an array of the user attributes. The first element of the array is the value of "uid" in the directory, and the second element is the value of "hrdepartment" in the directory. If the directory doesn't have "hrdepartment", the second element will be null.
Throws:
NamingException - if a Naming Exception occured during initializing the naming context or during user look up.

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.