com.cafesoft.core.ldap
Class ConnectionConfig

java.lang.Object
  |
  +--com.cafesoft.core.ldap.ConnectionConfig

public class ConnectionConfig
extends Object

ConnectionConfig encapsulates a set of LDAP Connection parameters.


Field Summary
protected  String connectionHost
          KRJ - doc
protected  String connectionName
          KRJ - doc
protected  String connectionPassword
          KRJ - doc
protected  int connectionPort
          KRJ - doc
protected  int ldapVersion
          KRJ - doc
 
Constructor Summary
ConnectionConfig(String connectionHost, int connectionPort, int ldapVersion, String connectionName, String connectionPassword)
          Create a new ConnectionConfig object.
 
Method Summary
 String getConnectionHost()
          Get the LDAP Server.
 String getConnectionName()
          Get the LDAP connection name.
 String getConnectionPassword()
          Get the LDAP connection password.
 int getConnectionPort()
          Get the LDAP Server port.
 int getLdapVersion()
          Get the LDAP Server version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectionHost

protected String connectionHost
KRJ - doc


connectionPort

protected int connectionPort
KRJ - doc


ldapVersion

protected int ldapVersion
KRJ - doc


connectionName

protected String connectionName
KRJ - doc


connectionPassword

protected String connectionPassword
KRJ - doc

Constructor Detail

ConnectionConfig

public ConnectionConfig(String connectionHost,
                        int connectionPort,
                        int ldapVersion,
                        String connectionName,
                        String connectionPassword)
Create a new ConnectionConfig object.

Parameters:
connectionHost - the server host name.
connectionPort - the server port.
ldapVersion - the LDAP version.
connectionName - the user to bind for searches.
connectionPassword - the bind user password.
Method Detail

getConnectionHost

public String getConnectionHost()
Get the LDAP Server.

Returns:
the LDAP Server host parameter.

getConnectionPort

public int getConnectionPort()
Get the LDAP Server port.

Returns:
the LDAP Server port parameter.

getLdapVersion

public int getLdapVersion()
Get the LDAP Server version.

Returns:
the LDAP Server version parameter.

getConnectionName

public String getConnectionName()
Get the LDAP connection name.

Returns:
the LDAP connection parameter.

getConnectionPassword

public String getConnectionPassword()
Get the LDAP connection password.

Returns:
the LDAP connection password parameter.


Generated on 8:41:50 AM June 06, 2005, © 1996-2005 Cafésoft LLC. All rights reserved.