Compiere 3.1

org.compiere.db
Class LDAP

java.lang.Object
  extended by 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
LDAP()
           
 
Method Summary
static void main(String[] args)
          Test
static boolean validate(String ldapURL, String domain, String userName, String password)
          Validate User
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAP

public LDAP()
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.org
domain - domain name = e.g. compiere.org
userName - user name - e.g. jjanke
password - password
Returns:
true if validated with ldap

main

public static void main(String[] args)
Test

Parameters:
args - ignored

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.