com.ibm.di.api.authentication
Class LDAPAuthentication

java.lang.Object
  extended by com.ibm.di.api.authentication.LDAPAuthentication
All Implemented Interfaces:
AuthenticationInterface

public class LDAPAuthentication
extends Object
implements AuthenticationInterface


Field Summary
static String AUTH_MAP_LDAP_PASSWORD
           
static String AUTH_MAP_LDAP_USERNAME
           
static String INITCTX
           
static String PARAM_LDAP_ADMIN_DN
           
static String PARAM_LDAP_ADMIN_PWD
           
static String PARAM_LDAP_HOST_NAME
           
static String PARAM_LDAP_PORT
           
static String PARAM_LDAP_SEARCH_BASE
           
static String PARAM_LDAP_SSL_ENABLED
           
static String PARAM_LDAP_USERID_ATTRIBUTE
           
 
Constructor Summary
LDAPAuthentication()
           
 
Method Summary
 void authenticate(Map map)
           
 void authenticate(String aUserName, String aPassword)
           
 void close()
           
 void initialize(Map configMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITCTX

public static final String INITCTX
See Also:
Constant Field Values

PARAM_LDAP_HOST_NAME

public static final String PARAM_LDAP_HOST_NAME
See Also:
Constant Field Values

PARAM_LDAP_PORT

public static final String PARAM_LDAP_PORT
See Also:
Constant Field Values

PARAM_LDAP_ADMIN_DN

public static final String PARAM_LDAP_ADMIN_DN
See Also:
Constant Field Values

PARAM_LDAP_ADMIN_PWD

public static final String PARAM_LDAP_ADMIN_PWD
See Also:
Constant Field Values

PARAM_LDAP_SEARCH_BASE

public static final String PARAM_LDAP_SEARCH_BASE
See Also:
Constant Field Values

PARAM_LDAP_USERID_ATTRIBUTE

public static final String PARAM_LDAP_USERID_ATTRIBUTE
See Also:
Constant Field Values

PARAM_LDAP_SSL_ENABLED

public static final String PARAM_LDAP_SSL_ENABLED
See Also:
Constant Field Values

AUTH_MAP_LDAP_USERNAME

public static final String AUTH_MAP_LDAP_USERNAME
See Also:
Constant Field Values

AUTH_MAP_LDAP_PASSWORD

public static final String AUTH_MAP_LDAP_PASSWORD
See Also:
Constant Field Values
Constructor Detail

LDAPAuthentication

public LDAPAuthentication()
Method Detail

initialize

public void initialize(Map configMap)
                throws Exception
Specified by:
initialize in interface AuthenticationInterface
Throws:
Exception

authenticate

public void authenticate(Map map)
                  throws Exception
Specified by:
authenticate in interface AuthenticationInterface
Throws:
Exception

authenticate

public void authenticate(String aUserName,
                         String aPassword)
                  throws Exception
Specified by:
authenticate in interface AuthenticationInterface
Throws:
Exception

close

public void close()
           throws Exception
Specified by:
close in interface AuthenticationInterface
Throws:
Exception