Class StaticListLdapSearch
- java.lang.Object
-
- org.pentaho.platform.plugin.services.security.userrole.ldap.search.StaticListLdapSearch
-
- All Implemented Interfaces:
LdapSearch
public class StaticListLdapSearch extends Object implements LdapSearch
Deprecated.Use org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecoratorReturns the list configured via thestaticList
property. (Makes no connection to a directory.) One way to use this class would be to use it along withUnionizingLdapSearch
to return a list of additional roles or usernames. This is useful when you want to use the Admin Permissions interface to assign ACLs but the role or username that you wish to use is not actually present in the directory (e.g.Anonymous
).- Author:
- mlowery
-
-
Constructor Summary
Constructors Constructor Description StaticListLdapSearch()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List
getStaticList()
Deprecated.List
search(Object[] ignored)
Deprecated.Executes a search against a directory context using the given filter arguments.void
setStaticList(List staticList)
Deprecated.
-
-
-
Method Detail
-
search
public List search(Object[] ignored)
Deprecated.Description copied from interface:LdapSearch
Executes a search against a directory context using the given filter arguments.- Specified by:
search
in interfaceLdapSearch
- Parameters:
ignored
- the filter arguments- Returns:
- the result set as a list
-
setStaticList
public void setStaticList(List staticList)
Deprecated.
-
getStaticList
public List getStaticList()
Deprecated.
-
-