Package | Description |
---|---|
com.hp.ucmdb.api.authorization.model |
Modifier and Type | Method and Description |
---|---|
RoleId |
AuthorizationDataFactory.createRoleId(String id) |
Modifier and Type | Method and Description |
---|---|
Collection<RoleId> |
AuthorizationModelService.getAllRoleIds()
Returns a collection of all the roles defined inside UCMDB.
|
Collection<RoleId> |
AuthorizationModelService.getRoleIdsForUser(UserId userId)
Returns a collection of roles which are assigned to a specific user identified by
userId . |
Collection<RoleId> |
AuthorizationModelService.getRoleIdsForUsersGroup(UsersGroupId usersGroupId)
Returns a collection of roles which are assigned to a specific users group identified by
usersGroupId . |
Modifier and Type | Method and Description |
---|---|
Collection<UsersGroupId> |
AuthorizationModelService.getGroupsWithRole(RoleId roleId)
Returns a collection of user groups that have been assigned a specific role identified by
roleId |
Collection<UserId> |
AuthorizationModelService.getUsersWithRole(RoleId roleId)
Returns a collection of users that have been assigned a specific role identified by
roleId |
Modifier and Type | Method and Description |
---|---|
void |
AuthorizationModelService.assignRolesToUser(UserId userId,
Collection<RoleId> roleIds)
Assigns a collection of roles identified by
roleIds
to a user identified by userId . |
void |
AuthorizationModelService.assignRolesToUserForAllTenants(UserId userId,
Collection<RoleId> roleIds)
Assigns a collection of roles identified by
roleIds
to a user identified by userId in the context of all tenants. |
void |
AuthorizationModelService.assignRolesToUserForTenants(UserId userId,
Collection<RoleId> roleIds,
Collection<TenantId> tenantIds)
Assigns a collection of roles identified by
roleIds
to a user identified by userId in the context of tenants
identified by tenantIds . |
void |
AuthorizationModelService.assignRolesToUsersGroup(UsersGroupId usersGroupId,
Collection<RoleId> roleIds)
Assigns a collection of roles identified by
roleIds
to a users group identified by usersGroupId . |
void |
AuthorizationModelService.assignRolesToUsersGroupForAllTenants(UsersGroupId usersGroupId,
Collection<RoleId> roleIds)
Assigns a collection of roles identified by
roleIds
to a users group identified by usersGroupId in the context of all tenants. |
void |
AuthorizationModelService.assignRolesToUsersGroupForTenants(UsersGroupId usersGroupId,
Collection<RoleId> roleIds,
Collection<TenantId> tenantIds)
Assigns a collection of roles identified by
roleIds
to a users group identified by usersGroupId in the context of specific tenants
identified by tenantIds . |
void |
AuthorizationModelService.revokeRolesFromUser(UserId userId,
Collection<RoleId> roleIds)
Revokes a collection of roles identified by
roleIds from a user
identified by userId |
void |
AuthorizationModelService.revokeRolesFromUsersGroup(UsersGroupId usersGroupId,
Collection<RoleId> roleIds)
Revokes a collection of roles identified by
roleIds from a users group
identified by usersGroupId |
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.