Class DefaultLdapUserRoleListService

  • All Implemented Interfaces:
    org.pentaho.platform.api.engine.IUserRoleListService, org.springframework.beans.factory.InitializingBean

    public class DefaultLdapUserRoleListService
    extends Object
    implements org.pentaho.platform.api.engine.IUserRoleListService, org.springframework.beans.factory.InitializingBean
    • Constructor Detail

      • DefaultLdapUserRoleListService

        public DefaultLdapUserRoleListService()
      • DefaultLdapUserRoleListService

        public DefaultLdapUserRoleListService​(Comparator<String> usernameComparator,
                                              Comparator<String> roleComparator,
                                              org.pentaho.platform.api.engine.security.IAuthenticationRoleMapper roleMapper)
    • Method Detail

      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception
      • getAllRoles

        public List<String> getAllRoles()
        Specified by:
        getAllRoles in interface org.pentaho.platform.api.engine.IUserRoleListService
      • getAllUsers

        public List<String> getAllUsers()
        Specified by:
        getAllUsers in interface org.pentaho.platform.api.engine.IUserRoleListService
      • getUsersInRole

        public List<String> getUsersInRole​(org.pentaho.platform.api.mt.ITenant tenant,
                                           String role)
        Specified by:
        getUsersInRole in interface org.pentaho.platform.api.engine.IUserRoleListService
      • getRolesForUser

        public List<String> getRolesForUser​(org.pentaho.platform.api.mt.ITenant tenant,
                                            String username)
        Specified by:
        getRolesForUser in interface org.pentaho.platform.api.engine.IUserRoleListService
      • setAllUsernamesSearch

        public void setAllUsernamesSearch​(LdapSearch allUsernamesSearch)
      • setAllAuthoritiesSearch

        public void setAllAuthoritiesSearch​(LdapSearch allAuthoritiesSearch)
      • setUsernamesInRoleSearch

        public void setUsernamesInRoleSearch​(LdapSearch usernamesInRoleSearch)
      • setUserDetailsService

        public void setUserDetailsService​(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
      • setRoleComparator

        public void setRoleComparator​(Comparator<String> roleComparator)
      • setUsernameComparator

        public void setUsernameComparator​(Comparator<String> usernameComparator)
      • getUserNameUtils

        public org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver getUserNameUtils()
      • setUserNameUtils

        public void setUserNameUtils​(org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver userNameUtils)
      • getRoleNameUtils

        public org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver getRoleNameUtils()
      • setRoleNameUtils

        public void setRoleNameUtils​(org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver roleNameUtils)
      • getAllRoles

        public List<String> getAllRoles​(org.pentaho.platform.api.mt.ITenant tenant)
        Specified by:
        getAllRoles in interface org.pentaho.platform.api.engine.IUserRoleListService
      • getAllUsers

        public List<String> getAllUsers​(org.pentaho.platform.api.mt.ITenant tenant)
        Specified by:
        getAllUsers in interface org.pentaho.platform.api.engine.IUserRoleListService
      • getSystemRoles

        public List<String> getSystemRoles()
        Specified by:
        getSystemRoles in interface org.pentaho.platform.api.engine.IUserRoleListService
      • setSystemRoles

        public void setSystemRoles​(List<String> systemRoles)
      • setExtraRoles

        public void setExtraRoles​(List<String> extraRoles)
      • getExtraRoles

        public List<String> getExtraRoles()