public class UserRoleDaoService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UserRoleDaoService.ValidationFailedException |
Constructor and Description |
---|
UserRoleDaoService() |
Modifier and Type | Method and Description |
---|---|
void |
assignRolesToUser(String userName,
String roleNames) |
void |
changeUserPassword(String userName,
String newPass,
String oldPass) |
void |
createRole(String roleName) |
void |
createUser(User user) |
void |
deleteRoles(String roleNames) |
void |
deleteUsers(String userNames) |
SystemRolesMap |
getRoleBindingStruct(String locale) |
UserListWrapper |
getRoleMembers(String roleName) |
RoleListWrapper |
getRoles() |
RoleListWrapper |
getRolesForUser(String user) |
UserListWrapper |
getUsers() |
void |
removeRolesFromUser(String userName,
String roleNames) |
void |
setLogicalRoles(LogicalRoleAssignments roleAssignments) |
void |
updatePassword(User user) |
public UserListWrapper getUsers() throws Exception
Exception
public RoleListWrapper getRolesForUser(String user) throws UncategorizedUserRoleDaoException
public void assignRolesToUser(String userName, String roleNames) throws NotFoundException, UncategorizedUserRoleDaoException, SecurityException
public void removeRolesFromUser(String userName, String roleNames) throws NotFoundException, UncategorizedUserRoleDaoException, SecurityException
public RoleListWrapper getRoles() throws UncategorizedUserRoleDaoException
public UserListWrapper getRoleMembers(String roleName) throws UncategorizedUserRoleDaoException, SecurityException
public void changeUserPassword(String userName, String newPass, String oldPass) throws Exception
Exception
public void deleteUsers(String userNames) throws NotFoundException, UncategorizedUserRoleDaoException, SecurityException
public void deleteRoles(String roleNames) throws SecurityException, UncategorizedUserRoleDaoException
public SystemRolesMap getRoleBindingStruct(String locale) throws SecurityException
SecurityException
public void setLogicalRoles(LogicalRoleAssignments roleAssignments) throws SecurityException
SecurityException
public void updatePassword(User user) throws SecurityException
SecurityException
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.