IBM WebSphere Extended Deployment (XD)TM
Release 6.0

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

java.lang.Object
  |
  +--com.ibm.websphere.objectgrid.security.plugins.builtins.LDAPAuthenticatorHelper


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


Constructor Summary
LDAPAuthenticatorHelper(java.lang.String, java.lang.String)
          


Method Summary
public  Stringauthenticate(java.lang.String, java.lang.String)
           Authenticate the user to the LDAP directory.

Inherited Methods

Methods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

LDAPAuthenticatorHelper

public LDAPAuthenticatorHelper( String _providerURL,String _factoryClass)
Constructor
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)
Authenticate the user to the LDAP directory.
Parameters:
    user - the user ID, e.g., uid=xxxxxx,c=us,ou=bluepages,o=ibm.com
    pwd - the password


Throws:
    javax.naming.NamingException


IBM WebSphere Extended Deployment (XD)TM
Release 6.0