public class LdapSearch extends Object
Constructor and Description |
---|
LdapSearch(String ldapuri,
String bindDN,
String bindPassword,
int numRetries) |
Modifier and Type | Method and Description |
---|---|
void |
bind(String dn,
Attributes attribs) |
Attribute |
findAttribute(String rootDN,
String filter,
String attrName) |
Attributes |
findAttributes(String rootDN,
String filter) |
Attribute |
getAttribute(String dn,
String attrName) |
Attributes |
getAttributes(String dn) |
NamingEnumeration<SearchResult> |
searchSubTree(String rootEntry,
String filter) |
public NamingEnumeration<SearchResult> searchSubTree(String rootEntry, String filter) throws NamingException
NamingException
public Attributes getAttributes(String dn) throws NamingException
NamingException
public Attribute getAttribute(String dn, String attrName) throws NamingException
NamingException
public Attributes findAttributes(String rootDN, String filter) throws NamingException
NamingException
public Attribute findAttribute(String rootDN, String filter, String attrName) throws NamingException
NamingException
public void bind(String dn, Attributes attribs) throws NamingException
NamingException
Apache CXF