org.apache.cxf.xkms.x509.repo.ldap
Class LdapSearch
java.lang.Object
org.apache.cxf.xkms.x509.repo.ldap.LdapSearch
public class LdapSearch
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LdapSearch
public LdapSearch(String ldapuri,
String bindDN,
String bindPassword,
int numRetries)
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
Apache CXF