public class JcrUserRoleDao extends AbstractJcrBackedUserRoleDao
Constructor and Description |
---|
JcrUserRoleDao(org.springframework.extensions.jcr.JcrTemplate adminJcrTemplate,
org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver userNameUtils,
org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver roleNameUtils,
String authenticatedRoleName,
String tenantAdminRoleName,
String repositoryAdminUsername,
IRepositoryFileAclDao repositoryFileAclDao,
IRepositoryFileDao repositoryFileDao,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
org.pentaho.platform.api.repository2.unified.IRepositoryDefaultAclHandler defaultAclHandler,
List<String> systemRoles,
List<String> extraRoles,
org.springframework.security.providers.dao.UserCache userCache) |
Modifier and Type | Method and Description |
---|---|
org.pentaho.platform.api.engine.security.userroledao.IPentahoRole |
createRole(org.pentaho.platform.api.mt.ITenant tenant,
String roleName,
String description,
String[] memberUserNames) |
org.pentaho.platform.api.engine.security.userroledao.IPentahoUser |
createUser(org.pentaho.platform.api.mt.ITenant tenant,
String userName,
String password,
String description,
String[] roles) |
void |
deleteRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role) |
void |
deleteUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user) |
org.pentaho.platform.api.engine.security.userroledao.IPentahoRole |
getRole(org.pentaho.platform.api.mt.ITenant tenant,
String name) |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> |
getRoleMembers(org.pentaho.platform.api.mt.ITenant tenant,
String roleName) |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> |
getRoles() |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> |
getRoles(org.pentaho.platform.api.mt.ITenant tenant) |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> |
getRoles(org.pentaho.platform.api.mt.ITenant tenant,
boolean includeSubtenants) |
org.pentaho.platform.api.engine.security.userroledao.IPentahoUser |
getUser(org.pentaho.platform.api.mt.ITenant tenant,
String name) |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> |
getUserRoles(org.pentaho.platform.api.mt.ITenant tenant,
String userName) |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> |
getUsers() |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> |
getUsers(org.pentaho.platform.api.mt.ITenant tenant) |
List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> |
getUsers(org.pentaho.platform.api.mt.ITenant tenant,
boolean includeSubtenants) |
void |
setPassword(org.pentaho.platform.api.mt.ITenant tenant,
String userName,
String password) |
void |
setRoleDescription(org.pentaho.platform.api.mt.ITenant tenant,
String roleName,
String description) |
void |
setRoleMembers(org.pentaho.platform.api.mt.ITenant tenant,
String roleName,
String[] memberUserNames) |
void |
setUserDescription(org.pentaho.platform.api.mt.ITenant tenant,
String userName,
String description) |
void |
setUserRoles(org.pentaho.platform.api.mt.ITenant tenant,
String userName,
String[] roles) |
createRole, createUser, deleteRole, deleteUser, getRole, getRoleMembers, getRoles, getRoles, getRoles, getTenantedRoleNameUtils, getTenantedUserNameUtils, getUser, getUserRoles, getUsers, getUsers, getUsers, setPassword, setRoleDescription, setRoleMembers, setUserDescription, setUserRoles
public JcrUserRoleDao(org.springframework.extensions.jcr.JcrTemplate adminJcrTemplate, org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver userNameUtils, org.pentaho.platform.api.mt.ITenantedPrincipleNameResolver roleNameUtils, String authenticatedRoleName, String tenantAdminRoleName, String repositoryAdminUsername, IRepositoryFileAclDao repositoryFileAclDao, IRepositoryFileDao repositoryFileDao, IPathConversionHelper pathConversionHelper, ILockHelper lockHelper, org.pentaho.platform.api.repository2.unified.IRepositoryDefaultAclHandler defaultAclHandler, List<String> systemRoles, List<String> extraRoles, org.springframework.security.providers.dao.UserCache userCache) throws javax.jcr.NamespaceException
javax.jcr.NamespaceException
public void setRoleMembers(org.pentaho.platform.api.mt.ITenant tenant, String roleName, String[] memberUserNames)
public void setUserRoles(org.pentaho.platform.api.mt.ITenant tenant, String userName, String[] roles) throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.NotFoundException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public org.pentaho.platform.api.engine.security.userroledao.IPentahoRole createRole(org.pentaho.platform.api.mt.ITenant tenant, String roleName, String description, String[] memberUserNames) throws org.pentaho.platform.api.engine.security.userroledao.AlreadyExistsException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.AlreadyExistsException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public org.pentaho.platform.api.engine.security.userroledao.IPentahoUser createUser(org.pentaho.platform.api.mt.ITenant tenant, String userName, String password, String description, String[] roles) throws org.pentaho.platform.api.engine.security.userroledao.AlreadyExistsException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.AlreadyExistsException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public void deleteRole(org.pentaho.platform.api.engine.security.userroledao.IPentahoRole role) throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.NotFoundException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public void deleteUser(org.pentaho.platform.api.engine.security.userroledao.IPentahoUser user) throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.NotFoundException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> getRoles() throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> getUsers() throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public void setRoleDescription(org.pentaho.platform.api.mt.ITenant tenant, String roleName, String description) throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.NotFoundException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public void setUserDescription(org.pentaho.platform.api.mt.ITenant tenant, String userName, String description) throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.NotFoundException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public void setPassword(org.pentaho.platform.api.mt.ITenant tenant, String userName, String password) throws org.pentaho.platform.api.engine.security.userroledao.NotFoundException, org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.NotFoundException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> getRoles(org.pentaho.platform.api.mt.ITenant tenant) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> getRoles(org.pentaho.platform.api.mt.ITenant tenant, boolean includeSubtenants) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> getUsers(org.pentaho.platform.api.mt.ITenant tenant) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> getUsers(org.pentaho.platform.api.mt.ITenant tenant, boolean includeSubtenants) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public org.pentaho.platform.api.engine.security.userroledao.IPentahoRole getRole(org.pentaho.platform.api.mt.ITenant tenant, String name) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public org.pentaho.platform.api.engine.security.userroledao.IPentahoUser getUser(org.pentaho.platform.api.mt.ITenant tenant, String name) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoUser> getRoleMembers(org.pentaho.platform.api.mt.ITenant tenant, String roleName) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
public List<org.pentaho.platform.api.engine.security.userroledao.IPentahoRole> getUserRoles(org.pentaho.platform.api.mt.ITenant tenant, String userName) throws org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException
org.pentaho.platform.api.engine.security.userroledao.UncategorizedUserRoleDaoException