org.pentaho.platform.plugin.services.security.userrole.ldap.search
Class GenericLdapSearch

java.lang.Object
  extended by org.pentaho.platform.plugin.services.security.userrole.ldap.search.GenericLdapSearch
All Implemented Interfaces:
LdapSearch, org.springframework.beans.factory.InitializingBean

public class GenericLdapSearch
extends Object
implements LdapSearch, org.springframework.beans.factory.InitializingBean


Constructor Summary
GenericLdapSearch(org.springframework.ldap.core.ContextSource contextSource, LdapSearchParamsFactory paramsFactory)
           
GenericLdapSearch(org.springframework.ldap.core.ContextSource contextSource, LdapSearchParamsFactory paramsFactory, org.apache.commons.collections.Transformer resultsTransformer)
           
GenericLdapSearch(org.springframework.ldap.core.ContextSource contextSource, LdapSearchParamsFactory paramsFactory, org.apache.commons.collections.Transformer resultsTransformer, org.apache.commons.collections.Transformer filterArgsTransformer)
           
 
Method Summary
 void afterPropertiesSet()
           
 List search(Object[] filterArgs)
          Executes a search against a directory context using the given filter arguments.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericLdapSearch

public GenericLdapSearch(org.springframework.ldap.core.ContextSource contextSource,
                         LdapSearchParamsFactory paramsFactory)

GenericLdapSearch

public GenericLdapSearch(org.springframework.ldap.core.ContextSource contextSource,
                         LdapSearchParamsFactory paramsFactory,
                         org.apache.commons.collections.Transformer resultsTransformer)

GenericLdapSearch

public GenericLdapSearch(org.springframework.ldap.core.ContextSource contextSource,
                         LdapSearchParamsFactory paramsFactory,
                         org.apache.commons.collections.Transformer resultsTransformer,
                         org.apache.commons.collections.Transformer filterArgsTransformer)
Method Detail

search

public List search(Object[] filterArgs)
Description copied from interface: LdapSearch
Executes a search against a directory context using the given filter arguments.

Specified by:
search in interface LdapSearch
Parameters:
filterArgs - the filter arguments
Returns:
the result set as a list

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception