Package org.compiere.db
Class LDAP
- java.lang.Object
-
- org.compiere.db.LDAP
-
public class LDAP extends Object
LDAP Management Interface- Version:
- $Id: LDAP.java,v 1.2 2006/07/30 00:55:13 jjanke Exp $
- Author:
- Jorg Janke
-
-
Constructor Summary
Constructors Constructor Description LDAP()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
Teststatic boolean
validate(String ldapURL, String domain, String userName, String password)
Validate User
-
-
-
Method Detail
-
validate
public static boolean validate(String ldapURL, String domain, String userName, String password)
Validate User- Parameters:
ldapURL
- provider url - e.g. ldap://dc.compiere.orgdomain
- domain name = e.g. compiere.orguserName
- user name - e.g. jjankepassword
- password- Returns:
- true if validated with ldap
-
main
public static void main(String[] args)
Test- Parameters:
args
- ignored
-
-