org.pentaho.platform.plugin.services.security.userrole.ldap.search
Class GenericLdapSearch
java.lang.Object
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
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)
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