RoleManagementService Resource

Available Since
2.0

GET /roleManagementService/allRoles

Available Since
2.0
Response Body
media type data type
application/json (custom)
application/xml list of role (XML)
text/plain (custom)

GET /roleManagementService/assignRole

Assigns the role indicated by the roleId to the given principal

Request Parameters
name type description default
principal query n/a
roleId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/assignRoleByName

Assigns the role indicated by the roleName to the given principal

Request Parameters
name type description default
principal query n/a
roleName query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/assignTemplatedRole

Assigns the templated role indicated by the templateId fails if the templated role has not been created

Request Parameters
name type description default
principal query n/a
resource query n/a
templateId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/createTemplatedRole

Request Parameters
name type description default
resource query n/a
templateId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)
Available Since
2.0

GET /roleManagementService/detailledAllRoles

Available Since
2.0
Response Body
media type data type
application/json (custom)
application/xml list of role (XML)
text/plain (custom)
Available Since
2.0

GET /roleManagementService/getApplicationRoles/{username}

Available Since
2.0
Request Parameters
name type description default
username path n/a
Response Body
media type data type
application/json (custom)
application/xml list of applicationRoles (XML)
Available Since
2.0

GET /roleManagementService/getApplications/{username}

Available Since
2.0
Request Parameters
name type description default
username path n/a
Response Body
media type data type
application/json (custom)
application/xml list of application (XML)
text/plain (custom)
Available Since
1.4

GET /roleManagementService/getEffectivelyAssignedRoles/{username}

Available Since
1.4
Request Parameters
name type description default
username path n/a
Response Body
media type data type
application/json (custom)
application/xml list of role (XML)
text/plain (custom)
Available Since
2.0

GET /roleManagementService/getRole/{roleName}

Available Since
2.0
Request Parameters
name type description default
roleName path n/a
Response Body
media type data type
application/json (custom)
application/xml role (XML)
text/plain (custom)

GET /roleManagementService/removeTemplatedRole

removes a role corresponding to the role Id that was manufactured with the given resource it also removes any user assignments for that role

Request Parameters
name type description default
resource query n/a
templateId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/roleExists

true of a role exists with the given roleId

Request Parameters
name type description default
roleId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/templatedRoleExists

true of a role exists with the given roleId

Request Parameters
name type description default
resource query n/a
templateId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/unassignRole

Unassigns the role indicated by the role id from the given principal

Request Parameters
name type description default
principal query n/a
roleId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/unassignRoleByName

Unassigns the role indicated by the role name from the given principal

Request Parameters
name type description default
principal query n/a
roleName query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)

GET /roleManagementService/updateRole

allows for a role coming from a template to be renamed effectively swapping out the bits of it that were labeled with the oldResource with the newResource it also manages any user assignments for that role

Request Parameters
name type description default
newResource query n/a
oldResource query n/a
templateId query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)
Available Since
2.0

GET /roleManagementService/updateRoleDescription

Available Since
2.0
Request Parameters
name type description default
roleDescription query n/a
roleName query n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)
Available Since
2.0

POST /roleManagementService/updateRoleUsers

update users assigned to a role

Available Since
2.0
Request Body
media type data type
application/json (custom)
application/xml role (XML)
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
Available Since
2.0

POST /roleManagementService/updateUserRoles

update roles assigned to a user

Available Since
2.0
Request Body
media type data type
application/json (custom)
application/xml user (XML)
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)

GET /roleManagementService/verifyTemplatedRole

Check a role template is complete in the RBAC store.

Request Parameters
name type description default
resource query the resource to verify n/a
templateId query the templated role n/a
Response Body
media type data type
application/json (custom)
application/xml boolean (XML)
text/plain (custom)