org.pentaho.platform.plugin.services.security.userrole.ldap.search
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
Method Summary |
List |
search(Object[] filterArgs)
Executes a search against a directory context using the given filter
arguments. |
NoOpLdapSearch
public NoOpLdapSearch()
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