jsdsi.ldap
Class LDAPParameters

java.lang.Object
  extended byjsdsi.ldap.LDAPParameters
Direct Known Subclasses:
LDAPCertStoreParameters

public class LDAPParameters
extends java.lang.Object

LDAP server parameters. Server name(default: "localhost"), server port(default: 389), login(default: "anonymous"), password(default: null), base dn

Version:
$Revision: 1.5 $ $Date: 2004/03/27 19:15:39 $
Author:
Lu�s Pedro

Constructor Summary
LDAPParameters(java.lang.String LDAPbaseDN)
          Creates a new instance of LDAPParameters with specified LDAPbaseDN
LDAPParameters(java.lang.String LDAPserver, int LDAPport, java.lang.String LDAPbaseDN)
          Creates a new instance of LDAPParameters instance with specified LDAPserver, LDAPport and LDAPbaseDN
LDAPParameters(java.lang.String LDAPserver, int LDAPport, java.lang.String LDAPbaseDN, java.lang.String LDAPlogin, java.lang.String LDAPpassword)
          Creates a new LDAPParameters instance with specified LDAPserver, LDAPport, LDAPbaseDN, LDAPlogin andLDAPpassword
LDAPParameters(java.lang.String LDAPserver, java.lang.String LDAPbaseDN)
          Creates a new instance of LDAPParameters instance with specified LDAPserver and LDAPbaseDN
LDAPParameters(java.lang.String LDAPbaseDN, java.lang.String LDAPlogin, java.lang.String LDAPpassword)
          Creates a new instance of LDAPParameters with specified LDAPbaseDN, LDAPlogin and LDAPpassword
LDAPParameters(java.lang.String LDAPserver, java.lang.String LDAPbaseDN, java.lang.String LDAPlogin, java.lang.String LDAPpassword)
          Creates a new instance of LDAPParameters with specified LDAPserver, LDAPserverDN, LDAPlogin and LDAPpassword
 
Method Summary
 java.lang.Object clone()
          Copy of LDAPParameters
 java.lang.String getLDAPbaseDN()
          Ldap base dn
 java.lang.String getLDAPlogin()
          Ldap user name
 java.lang.String getLDAPpassword()
          Ldap user password
 int getLDAPport()
          Ldap server port
 java.lang.String getLDAPserver()
          Ldap server name
 java.lang.String toString()
          String representation of LDAPParameters
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LDAPParameters

public LDAPParameters(java.lang.String LDAPserver,
                      int LDAPport,
                      java.lang.String LDAPbaseDN,
                      java.lang.String LDAPlogin,
                      java.lang.String LDAPpassword)
Creates a new LDAPParameters instance with specified LDAPserver, LDAPport, LDAPbaseDN, LDAPlogin andLDAPpassword

Parameters:
LDAPserver - ldap server name
LDAPport - ldap server port
LDAPbaseDN - ldap server distinguish base name
LDAPlogin - user name
LDAPpassword - user password

LDAPParameters

public LDAPParameters(java.lang.String LDAPserver,
                      int LDAPport,
                      java.lang.String LDAPbaseDN)
Creates a new instance of LDAPParameters instance with specified LDAPserver, LDAPport and LDAPbaseDN

Parameters:
LDAPserver - ldap server name
LDAPport - ldap server port
LDAPbaseDN - ldap server distinguish base name

LDAPParameters

public LDAPParameters(java.lang.String LDAPserver,
                      java.lang.String LDAPbaseDN)
Creates a new instance of LDAPParameters instance with specified LDAPserver and LDAPbaseDN

Parameters:
LDAPserver - ldap server name
LDAPbaseDN - ldap server distinguish base name

LDAPParameters

public LDAPParameters(java.lang.String LDAPbaseDN)
Creates a new instance of LDAPParameters with specified LDAPbaseDN

Parameters:
LDAPbaseDN - ldap server distinguish base name

LDAPParameters

public LDAPParameters(java.lang.String LDAPserver,
                      java.lang.String LDAPbaseDN,
                      java.lang.String LDAPlogin,
                      java.lang.String LDAPpassword)
Creates a new instance of LDAPParameters with specified LDAPserver, LDAPserverDN, LDAPlogin and LDAPpassword

Parameters:
LDAPserver - ldap server name
LDAPbaseDN - ldap server distinguish base name
LDAPlogin - user name
LDAPpassword - user password

LDAPParameters

public LDAPParameters(java.lang.String LDAPbaseDN,
                      java.lang.String LDAPlogin,
                      java.lang.String LDAPpassword)
Creates a new instance of LDAPParameters with specified LDAPbaseDN, LDAPlogin and LDAPpassword

Parameters:
LDAPbaseDN - ldap server distinguish base name
LDAPlogin - user name
LDAPpassword - user password
Method Detail

getLDAPserver

public java.lang.String getLDAPserver()
Ldap server name

Returns:
server name

getLDAPport

public int getLDAPport()
Ldap server port

Returns:
server port

getLDAPlogin

public java.lang.String getLDAPlogin()
Ldap user name

Returns:
user name

getLDAPpassword

public java.lang.String getLDAPpassword()
Ldap user password

Returns:
user password

getLDAPbaseDN

public java.lang.String getLDAPbaseDN()
Ldap base dn

Returns:
ldap distinguish base name

clone

public java.lang.Object clone()
Copy of LDAPParameters

Returns:
LDAPParameters

toString

public java.lang.String toString()
String representation of LDAPParameters

Returns:
String representation of ldap parameters


Copyright © 2002-2006 JSDSI. All Rights Reserved.