|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--LDAPTool
|
+--LDAPSearch
Execute Search operations through the LDAP client interface. This class is implemented based on the LDAP class library.
usage : java LDAPSearch -b baseDN [options] filter [attributes...]
for example : java LDAPSearch -b "c=us" -h ds.internic.net -p 389
"(objectClass=*)"
note: '-' or '/' is used to distinct the option field.
e.g. -a -b /c /d parameter -e parameter
filter:
Any string in RFC1558 specification.
e.g. "(objectClass=*)"
attributes: {0..n}
All the string parameters follows with the filter.
e.g. filter attrsA attrsB attrsC
| Fields inherited from class LDAPTool |
m_binddn,
m_client,
m_debugLevel,
m_hopLimit,
m_justShow,
m_ldaphost,
m_ldapport,
m_ordinary,
m_passwd,
m_proxyControl,
m_referrals,
m_verbose,
m_version |
| Constructor Summary | |
LDAPSearch()
|
|
| Method Summary | |
protected static void |
extractParameters(java.lang.String[] args)
This function is to extract specified parameters from the arguments list. |
static void |
main(java.lang.String[] args)
This is the main function. |
| Methods inherited from class LDAPTool |
extractParameters,
setDefaultReferralCredentials |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public LDAPSearch()
| Method Detail |
public static void main(java.lang.String[] args)
args - list of argumentsprotected static void extractParameters(java.lang.String[] args)
args - list of args
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||