public class CompositeUserRoleListService extends Object implements org.pentaho.platform.api.engine.IUserRoleListService
Modifier and Type | Class and Description |
---|---|
static class |
CompositeUserRoleListService.STRATEGY |
Constructor and Description |
---|
CompositeUserRoleListService(List<org.pentaho.platform.api.engine.IUserRoleListService> delegates) |
Modifier and Type | Method and Description |
---|---|
CompositeUserRoleListService.STRATEGY |
getActiveStrategy() |
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,
String role) |
void |
setStrategy(CompositeUserRoleListService.STRATEGY strategy) |
void |
setStrategy(String strategy) |
public CompositeUserRoleListService(List<org.pentaho.platform.api.engine.IUserRoleListService> delegates)
public void setStrategy(CompositeUserRoleListService.STRATEGY strategy)
public void setStrategy(String strategy)
public CompositeUserRoleListService.STRATEGY getActiveStrategy()
public List<String> getAllRoles()
getAllRoles
in interface org.pentaho.platform.api.engine.IUserRoleListService
public List<String> getSystemRoles()
getSystemRoles
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> getUsersInRole(org.pentaho.platform.api.mt.ITenant tenant, String role)
getUsersInRole
in interface org.pentaho.platform.api.engine.IUserRoleListService
Copyright © 2018 Hitachi Vantara. All rights reserved.