gov.nih.nci.caarray.services.security.db
Class LDAPConnection

java.lang.Object
  extended by gov.nih.nci.caarray.services.security.db.LDAPConnection

public class LDAPConnection
extends java.lang.Object

Provides the LDAP connection and user authentication service.

Version:
1.0
Author:
Q. Pan

Constructor Summary
LDAPConnection()
           
 
Method Summary
 boolean ldapAuthenticateUser(java.lang.String loginName, java.lang.String passwd)
          Return the result of user authentication with LDAP server
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPConnection

public LDAPConnection()
Method Detail

ldapAuthenticateUser

public boolean ldapAuthenticateUser(java.lang.String loginName,
                                    java.lang.String passwd)
Return the result of user authentication with LDAP server

Parameters:
loginName - the login name of the user
passwd - the password of the user
Returns:
true for successful authentication
false for failed authentication