|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.jmeter.protocol.ldap.sampler.LdapClient
public class LdapClient
Ldap Client class is main class to create, modify, search and delete all the LDAP functionality available.
| Constructor Summary | |
|---|---|
LdapClient()
Constructor for the LdapClient object. |
|
| Method Summary | |
|---|---|
void |
connect(java.lang.String host,
java.lang.String port,
java.lang.String rootdn,
java.lang.String username,
java.lang.String password)
Connect to server. |
void |
createTest(javax.naming.directory.BasicAttributes basicattributes,
java.lang.String string)
Create the attribute in the ldap directory for the given string. |
void |
deleteTest(java.lang.String string)
Delete the attribute from the ldap directory. |
void |
disconnect()
Disconnect from the server. |
void |
modifyTest(javax.naming.directory.ModificationItem[] mods,
java.lang.String string)
Modify the attribute in the ldap directory for the given string. |
boolean |
searchTest(java.lang.String searchBase,
java.lang.String searchFilter)
Filter the data in the ldap directory for the given search base. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LdapClient()
| Method Detail |
|---|
public void connect(java.lang.String host,
java.lang.String port,
java.lang.String rootdn,
java.lang.String username,
java.lang.String password)
throws javax.naming.NamingException
javax.naming.NamingExceptionpublic void disconnect()
public boolean searchTest(java.lang.String searchBase,
java.lang.String searchFilter)
throws javax.naming.NamingException
searchBase - where the search should startsearchFilter - filter this value from the base
javax.naming.NamingException
public void modifyTest(javax.naming.directory.ModificationItem[] mods,
java.lang.String string)
throws javax.naming.NamingException
mods - add all the entry in to the ModificationItemstring - the string (dn) value
javax.naming.NamingException
public void createTest(javax.naming.directory.BasicAttributes basicattributes,
java.lang.String string)
throws javax.naming.NamingException
basicattributes - add all the entry in to the basicattributestring - the string (dn) value
javax.naming.NamingException
public void deleteTest(java.lang.String string)
throws javax.naming.NamingException
string - the string (dn) value
javax.naming.NamingException
|
Apache JMeter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||