|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IRbacAppSoap
SOAP APIs for Role Based Access Control (RBAC).
| Method Summary | |
|---|---|
void |
addCluster(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String operationCluster,
java.lang.String folderId)
Add an operation cluster to a role, expanding the permission set that the role grants access to. |
void |
addUser(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String username)
Add a user to the role, giving them all of the permissions of that role |
RoleSoapDO |
createRole(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String title,
java.lang.String description)
Create a role in a given project |
void |
deleteRole(java.lang.String sessionId,
java.lang.String roleId)
Delete a role. |
RoleSoapList |
getRoleList(java.lang.String sessionId,
java.lang.String projectId)
Get a list of Roles in a project context. |
UserSoapList |
getRoleMemberList(java.lang.String sessionId,
java.lang.String roleId)
Returns a list of users that are in a specified role. |
RoleSoapList |
getUserRoleList(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String username)
Returns a list of roles that a user is a member of in the specified project. |
RoleClusterSoapList |
listClusters(java.lang.String sessionId,
java.lang.String roleId)
Get the list of operation cluster assigned to a role. |
void |
removeCluster(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String operationCluster,
java.lang.String folderId)
Remove an operation cluster to a role, removing the permission set. |
void |
removeUser(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String username)
Remove a user from a role |
| Method Detail |
|---|
RoleSoapDO createRole(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String title,
java.lang.String description)
throws java.rmi.RemoteException
sessionId - User session IdprojectId - The project Id to create the role intitle - The title of the roledescription - A description of the role
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the projectId is invalid
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - If the role exists with the specified title in the project
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If one of the parameters is invalid
java.rmi.RemoteException
void deleteRole(java.lang.String sessionId,
java.lang.String roleId)
throws java.rmi.RemoteException
sessionId - User session IdroleId - The role id to add the cluster to
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the projectId is invalid
java.rmi.RemoteException
void addCluster(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String operationCluster,
java.lang.String folderId)
throws java.rmi.RemoteException
sessionId - User session IdroleId - The role id to add the cluster tooperationCluster - The cluster name to add to the role. See OperationClusterConstants.folderId - the folder id for the specified cluster. Pass in empty string to apply to all folders of the same type in the project. Note that passing in an empty folder id will not replace existing folder specific clusters.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the roleId is invalid
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - If the cluster already exists in the role
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If one of the parameters is invalid
java.rmi.RemoteException
void removeCluster(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String operationCluster,
java.lang.String folderId)
throws java.rmi.RemoteException
sessionId - User session IdroleId - The role id to remove the cluster tooperationCluster - The cluster name to add to the rolefolderId - the folder id for the specified cluster. Pass in empty string to remove a cluster defined for all folders. Note that passing in an empty folder id will not remove existing folder specific clusters.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If one of the parameters is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the roleId is invalid
java.rmi.RemoteException
RoleClusterSoapList listClusters(java.lang.String sessionId,
java.lang.String roleId)
throws java.rmi.RemoteException
sessionId - User session IdroleId - The role id to remove the cluster to
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If one of the parameters is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the roleId is invalid
java.rmi.RemoteException
void addUser(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String username)
throws java.rmi.RemoteException
sessionId - User sessionIdroleId - The role id to add the user tousername - The username of the user to add to the role
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the roleId is invalid
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - If the user already exists in the role
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If one of the parameters is invalid
java.rmi.RemoteException
void removeUser(java.lang.String sessionId,
java.lang.String roleId,
java.lang.String username)
throws java.rmi.RemoteException
sessionId - User sessionIdroleId - The role id to add the user tousername - The username of the user to add to the role
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the roleId is invalid
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If one of the parameters is invalid
java.rmi.RemoteException
RoleSoapList getRoleList(java.lang.String sessionId,
java.lang.String projectId)
throws java.rmi.RemoteException
sessionId - User session IdprojectId - The project Id to list roles from
com.vasoftware.sf.soap44.fault.InvalidSessionFault - If the session is invalid
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - If the user doesn't have permission to perform the operation
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - When the projectId is invalid
com.vasoftware.sf.soap44.fault.ObjectAlreadyExistsFault - If the role exists with the specified title in the project
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - If one of the parameters is invalid
java.rmi.RemoteException
UserSoapList getRoleMemberList(java.lang.String sessionId,
java.lang.String roleId)
throws java.rmi.RemoteException
sessionId - User session id.roleId - Role id.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - Role id is not specified or invalid.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - if the session is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - if the user does not have permission to perform the operation
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified role id is invalid
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
RoleSoapList getUserRoleList(java.lang.String sessionId,
java.lang.String projectId,
java.lang.String username)
throws java.rmi.RemoteException
sessionId - User session id.projectId - Project id.username - Name of the user.
com.vasoftware.sf.soap44.fault.IllegalArgumentFault - Username is not specified or invalid.
com.vasoftware.sf.soap44.fault.InvalidSessionFault - if the session is invalid.
com.vasoftware.sf.soap44.fault.PermissionDeniedFault - if the user does not have permission to perform the operation
com.vasoftware.sf.soap44.fault.NoSuchObjectFault - when the specified project id is invalid
com.vasoftware.sf.soap44.fault.SystemFault - when an unexpected system level error occurs.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||