Class NoOpLdapSearch
- java.lang.Object
-
- org.pentaho.platform.plugin.services.security.userrole.ldap.search.NoOpLdapSearch
-
- All Implemented Interfaces:
LdapSearch
public class NoOpLdapSearch extends Object implements LdapSearch
Immediately returns an empty list without connecting to a server.This is useful when you do not wish to implement one of the searches of
DefaultLdapUserRoleLIstService
--most often the all usernames search.- Author:
- mlowery
-
-
Constructor Summary
Constructors Constructor Description NoOpLdapSearch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
search(Object[] filterArgs)
Executes a search against a directory context using the given filter arguments.
-
-
-
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
-
-