Class StaticListLdapSearch

  • All Implemented Interfaces:
    LdapSearch

    public class StaticListLdapSearch
    extends Object
    implements LdapSearch
    Deprecated.
    Use org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator
    Returns the list configured via the staticList property. (Makes no connection to a directory.) One way to use this class would be to use it along with UnionizingLdapSearch 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 Detail

      • StaticListLdapSearch

        public StaticListLdapSearch()
        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 interface LdapSearch
        Parameters:
        ignored - the filter arguments
        Returns:
        the result set as a list
      • setStaticList

        public void setStaticList​(List staticList)
        Deprecated.
      • getStaticList

        public List getStaticList()
        Deprecated.