public class SuperUserRoleListService extends Object implements IUserRoleListService
IUserRoleListService
that delegates to an IUserRoleDao
.Constructor and Description |
---|
SuperUserRoleListService() |
SuperUserRoleListService(String role,
String user,
List<String> systemRoles) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllRoles() |
List<String> |
getAllRoles(ITenant tenant) |
List<String> |
getAllUsers() |
List<String> |
getAllUsers(ITenant tenant) |
List<String> |
getRolesForUser(ITenant tenant,
String username) |
List<String> |
getSystemRoles() |
List<String> |
getUsersInRole(ITenant tenant,
IPentahoRole role,
String roleName) |
List<String> |
getUsersInRole(ITenant tenant,
String roleName) |
public List<String> getAllRoles()
getAllRoles
in interface IUserRoleListService
public List<String> getAllRoles(ITenant tenant)
getAllRoles
in interface IUserRoleListService
public List<String> getAllUsers()
getAllUsers
in interface IUserRoleListService
public List<String> getAllUsers(ITenant tenant)
getAllUsers
in interface IUserRoleListService
public List<String> getRolesForUser(ITenant tenant, String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
getRolesForUser
in interface IUserRoleListService
org.springframework.security.core.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
public List<String> getUsersInRole(ITenant tenant, IPentahoRole role, String roleName)
public List<String> getUsersInRole(ITenant tenant, String roleName)
getUsersInRole
in interface IUserRoleListService
public List<String> getSystemRoles()
getSystemRoles
in interface IUserRoleListService
Copyright © 2017 Hitachi Vantara. All rights reserved.