|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ldap.clients.ldaptest.LdapTestSession
public class LdapTestSession
Interface into the LDAP TEST session. This will define a host session for the testing framework. Each session will have a host, port and bind information. These sessions are "where the tests are run".
| Constructor Summary | |
|---|---|
LdapTestSession()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBindDn()
Get the DN of the user name to bind to the server |
java.lang.String |
getBindPassword()
Get the password of the bind user |
java.lang.String |
getHost()
Get the hostname of the server for the session |
int |
getPort()
Get the port to connect to on the ldap server |
java.lang.String |
getSessionDescription()
Get the session description |
java.lang.String |
getSessionName()
Get the session description |
boolean |
isAnnonBind()
True if the session should bind annonymously |
void |
setAnnonBind(boolean a_b)
True if the session should bind annonymously |
void |
setBindDn(java.lang.String a_string)
Set the DN of the user name to bind to the server |
void |
setBindPassword(java.lang.String a_string)
Set the password of the bind user |
void |
setHost(java.lang.String a_string)
Set the hostname of the server for the session |
void |
setPort(int a_i)
Set the port to connect to on the ldap server |
void |
setSessionDescription(java.lang.String a_string)
Set the session description |
void |
setSessionName(java.lang.String a_string)
Set the session name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapTestSession()
| Method Detail |
|---|
public java.lang.String getBindDn()
public java.lang.String getBindPassword()
public java.lang.String getHost()
public int getPort()
public boolean isAnnonBind()
public java.lang.String getSessionDescription()
public java.lang.String getSessionName()
public void setBindDn(java.lang.String a_string)
a_string - DN of the user name to bind to the serverpublic void setBindPassword(java.lang.String a_string)
a_string - password of the bind userpublic void setHost(java.lang.String a_string)
a_string - hostname of the server for the sessionpublic void setPort(int a_i)
a_i - port to connect to on the ldap serverpublic void setAnnonBind(boolean a_b)
a_b - True if the session should bind annonymouslypublic void setSessionDescription(java.lang.String a_string)
a_string - session descriptionpublic void setSessionName(java.lang.String a_string)
a_string - session name
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||