|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.protocol.ldap.sampler.LdapExtClient
public class LdapExtClient
Ldap Client class is main class to create ,modify, search and delete all the LDAP functionality available
Constructor Summary | |
---|---|
LdapExtClient()
Constructor for the LdapClient object |
Method Summary | |
---|---|
static NamingEnumeration<SearchResult> |
compare(DirContext dirContext,
String filter,
String entrydn)
Filter the data in the ldap directory |
static DirContext |
connect(String host,
String port,
String rootdn,
String username,
String password,
String connTimeOut,
boolean secure)
connect to server |
static DirContext |
createTest(DirContext dirContext,
Attributes attributes,
String string)
Create the entry in the ldap directory for the given string |
static void |
deleteTest(DirContext dirContext,
String string)
Delete the attribute from the ldap directory |
static void |
disconnect(DirContext dirContext)
disconnect from the server |
static void |
moddnOp(DirContext dirContext,
String ddn,
String newdn)
ModDN the data in the ldap directory for the given search base |
static void |
modifyTest(DirContext dirContext,
ModificationItem[] mods,
String string)
Modify the attribute in the ldap directory for the given string |
static NamingEnumeration<SearchResult> |
searchTest(DirContext dirContext,
String searchBase,
String searchFilter,
int scope,
long countlim,
int timelim,
String[] attrs,
boolean retobj,
boolean deref)
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 LdapExtClient()
Method Detail |
---|
public static DirContext connect(String host, String port, String rootdn, String username, String password, String connTimeOut, boolean secure) throws NamingException
host
- Description of Parameterusername
- Description of Parameterpassword
- Description of Parameter
NamingException
- Description of Exceptionpublic static void disconnect(DirContext dirContext)
public static NamingEnumeration<SearchResult> searchTest(DirContext dirContext, String searchBase, String searchFilter, int scope, long countlim, int timelim, String[] attrs, boolean retobj, boolean deref) throws NamingException
searchBase
- base where the search should startsearchFilter
- filter filter this value from the base
NamingException
public static NamingEnumeration<SearchResult> compare(DirContext dirContext, String filter, String entrydn) throws NamingException
filter
- filter this value from the base
NamingException
public static void moddnOp(DirContext dirContext, String ddn, String newdn) throws NamingException
NamingException
public static void modifyTest(DirContext dirContext, ModificationItem[] mods, String string) throws NamingException
mods
- add all the entry in to the ModificationItemstring
- The string (dn) value
NamingException
public static DirContext createTest(DirContext dirContext, Attributes attributes, String string) throws NamingException
attributes
- add all the attributes and values from the attributes objectstring
- The string (dn) value
NamingException
public static void deleteTest(DirContext dirContext, String string) throws NamingException
string
- The string (dn) value
NamingException
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |