Class LdapSearch
- java.lang.Object
-
- org.apache.cxf.xkms.x509.repo.ldap.LdapSearch
-
public class LdapSearch extends Object
-
-
Constructor Summary
Constructors Constructor Description LdapSearch(String ldapuri, String bindDN, String bindPassword, int numRetries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
searchSubTree
public NamingEnumeration<SearchResult> searchSubTree(String rootEntry, String filter) throws NamingException
- Throws:
NamingException
-
getAttributes
public Attributes getAttributes(String dn) throws NamingException
- Throws:
NamingException
-
getAttribute
public Attribute getAttribute(String dn, String attrName) throws NamingException
- Throws:
NamingException
-
findAttributes
public Attributes findAttributes(String rootDN, String filter) throws NamingException
- Throws:
NamingException
-
findAttribute
public Attribute findAttribute(String rootDN, String filter, String attrName) throws NamingException
- Throws:
NamingException
-
bind
public void bind(String dn, Attributes attribs) throws NamingException
- Throws:
NamingException
-
-