public class SuperUserRoleListService extends Object implements org.pentaho.platform.api.engine.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(org.pentaho.platform.api.mt.ITenant tenant) |
List<String> |
getAllUsers() |
List<String> |
getAllUsers(org.pentaho.platform.api.mt.ITenant tenant) |
List<String> |
getRolesForUser(org.pentaho.platform.api.mt.ITenant tenant,
String username) |
List<String> |
getSystemRoles() |
List<String> |
getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant,
org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role,
String roleName) |
List<String> |
getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant,
String roleName) |
public List<String> getAllRoles()
getAllRoles
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getAllRoles(org.pentaho.platform.api.mt.ITenant tenant)
getAllRoles
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getAllUsers()
getAllUsers
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getAllUsers(org.pentaho.platform.api.mt.ITenant tenant)
getAllUsers
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getRolesForUser(org.pentaho.platform.api.mt.ITenant tenant, String username) throws org.springframework.security.core.userdetails.UsernameNotFoundException, org.springframework.dao.DataAccessException
getRolesForUser
in interface org.pentaho.platform.api.engine.IUserRoleListService
org.springframework.security.core.userdetails.UsernameNotFoundException
org.springframework.dao.DataAccessException
public List<String> getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant, org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role, String roleName)
public List<String> getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant, String roleName)
getUsersInRole
in interface org.pentaho.platform.api.engine.IUserRoleListService
Copyright © 2019 Hitachi Vantara. All rights reserved.