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
-
-
Constructor Summary
Constructors Constructor Description 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
List
search(Object[] filterArgs)
Executes a search against a directory context using the given filter arguments.
-
-
-
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 interfaceLdapSearch
- Parameters:
filterArgs
- the filter arguments- Returns:
- the result set as a list
-
-