Apache CXF API

org.apache.cxf.xkms.x509.repo.ldap
Class LdapSearch

java.lang.Object
  extended by org.apache.cxf.xkms.x509.repo.ldap.LdapSearch

public class LdapSearch
extends Object


Constructor Summary
LdapSearch(String ldapuri, String bindDN, String bindPassword, int numRetries)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapSearch

public LdapSearch(String ldapuri,
                  String bindDN,
                  String bindPassword,
                  int numRetries)
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

Apache CXF API

Apache CXF