| java.lang.Object org.apache.jmeter.protocol.ldap.sampler.LdapExtClient
LdapExtClient | public class LdapExtClient (Code) | | Ldap Client class is main class to create ,modify, search and delete all the
LDAP functionality available
|
Method Summary | |
public NamingEnumeration | compare(DirContext dirContext, String filter, String entrydn) | public DirContext | connect(String host, String port, String rootdn, String username, String password, String connTimeOut, boolean secure) | public DirContext | createTest(DirContext dirContext, Attributes attributes, String string) | public void | deleteTest(DirContext dirContext, String string) | public void | disconnect(DirContext dirContext) | public void | moddnOp(DirContext dirContext, String ddn, String newdn) | public void | modifyTest(DirContext dirContext, ModificationItem[] mods, String string) | public NamingEnumeration | searchTest(DirContext dirContext, String searchBase, String searchFilter, int scope, long countlim, int timelim, String[] attrs, boolean retobj, boolean deref) |
LdapExtClient | public LdapExtClient()(Code) | | Constructor for the LdapClient object
|
createTest | public DirContext createTest(DirContext dirContext, Attributes attributes, String string) throws NamingException(Code) | | Create the entry in the ldap directory for the given string
Parameters: attributes - add all the attributes and values from the attributes object Parameters: string - The string (dn) value |
deleteTest | public void deleteTest(DirContext dirContext, String string) throws NamingException(Code) | | Delete the attribute from the ldap directory
Parameters: string - The string (dn) value |
disconnect | public void disconnect(DirContext dirContext)(Code) | | disconnect from the server
|
modifyTest | public void modifyTest(DirContext dirContext, ModificationItem[] mods, String string) throws NamingException(Code) | | Modify the attribute in the ldap directory for the given string
Parameters: mods - add all the entry in to the ModificationItem Parameters: string - The string (dn) value |
searchTest | public NamingEnumeration searchTest(DirContext dirContext, String searchBase, String searchFilter, int scope, long countlim, int timelim, String[] attrs, boolean retobj, boolean deref) throws NamingException(Code) | | Filter the data in the ldap directory for the given search base
Parameters: searchBase - base where the search should start Parameters: searchFilter - filter filter this value from the base |
|
|