Modifier and Type | Method and Description |
---|---|
RoleModel |
ClientProvider.addClientRole(RealmModel realm,
ClientModel client,
String name) |
RoleModel |
ClientProvider.addClientRole(RealmModel realm,
ClientModel client,
String id,
String name) |
RoleModel |
RealmProvider.addRealmRole(RealmModel realm,
String name) |
RoleModel |
RealmProvider.addRealmRole(RealmModel realm,
String id,
String name) |
RoleModel |
RoleContainerModel.addRole(String name) |
RoleModel |
RoleContainerModel.addRole(String id,
String name) |
RoleModel |
ClientProvider.getClientRole(RealmModel realm,
ClientModel client,
String name) |
RoleModel |
RealmProvider.getRealmRole(RealmModel realm,
String name) |
RoleModel |
RoleContainerModel.RoleRemovedEvent.getRole() |
RoleModel |
RoleContainerModel.getRole(String name) |
RoleModel |
RealmModel.getRoleById(String id) |
RoleModel |
RealmProvider.getRoleById(String id,
RealmModel realm) |
Modifier and Type | Method and Description |
---|---|
Set<RoleModel> |
RoleMapperModel.getClientRoleMappings(ClientModel app)
Returns set of client roles that are directly set to this object for the given client.
|
Set<RoleModel> |
ClientProvider.getClientRoles(RealmModel realm,
ClientModel client) |
Set<RoleModel> |
RoleModel.getComposites() |
Set<RoleModel> |
RoleMapperModel.getRealmRoleMappings()
Returns set of realm roles that are directly set to this object.
|
Set<RoleModel> |
RealmProvider.getRealmRoles(RealmModel realm) |
Set<RoleModel> |
ScopeContainerModel.getRealmScopeMappings() |
Set<RoleModel> |
RoleMapperModel.getRoleMappings()
Returns set of all role (both realm all client) that are directly set to this object.
|
Set<RoleModel> |
RoleContainerModel.getRoles() |
Set<RoleModel> |
ClientSessionContext.getRoles() |
Set<RoleModel> |
ScopeContainerModel.getScopeMappings() |
Modifier and Type | Method and Description |
---|---|
void |
RoleModel.addCompositeRole(RoleModel role) |
void |
ScopeContainerModel.addScopeMapping(RoleModel role) |
void |
RoleMapperModel.deleteRoleMapping(RoleModel role)
Removes the given role mapping from this object.
|
void |
ScopeContainerModel.deleteScopeMapping(RoleModel role) |
List<GroupModel> |
RealmProvider.getGroupsByRole(RealmModel realm,
RoleModel role,
int firstResult,
int maxResults) |
void |
RoleMapperModel.grantRole(RoleModel role)
Grants the given role to this object.
|
boolean |
RoleModel.hasRole(RoleModel role) |
boolean |
RoleMapperModel.hasRole(RoleModel role)
Returns
true if this object is directly or indirectly assigned the given role, false otherwise. |
boolean |
ScopeContainerModel.hasScope(RoleModel role) |
void |
UserProvider.preRemove(RealmModel realm,
RoleModel role) |
void |
RoleModel.removeCompositeRole(RoleModel role) |
boolean |
RealmProvider.removeRole(RealmModel realm,
RoleModel role) |
boolean |
RoleContainerModel.removeRole(RoleModel role) |
Modifier and Type | Method and Description |
---|---|
static Set<RoleModel> |
RoleUtils.expandCompositeRoles(Set<RoleModel> roles) |
Set<RoleModel> |
UserModelDelegate.getClientRoleMappings(ClientModel app) |
static Set<RoleModel> |
RoleUtils.getDeepUserRoleMappings(UserModel user) |
static Set<RoleModel> |
DefaultRoles.getDefaultRoles(RealmModel realm) |
Set<RoleModel> |
UserModelDelegate.getRealmRoleMappings() |
Set<RoleModel> |
UserModelDelegate.getRoleMappings() |
Modifier and Type | Method and Description |
---|---|
void |
UserModelDelegate.deleteRoleMapping(RoleModel role) |
void |
UserModelDelegate.grantRole(RoleModel role) |
boolean |
UserModelDelegate.hasRole(RoleModel role) |
static boolean |
RoleUtils.hasRole(Set<RoleModel> roles,
RoleModel targetRole) |
static boolean |
RoleUtils.hasRoleFromGroup(GroupModel group,
RoleModel targetRole,
boolean checkParentGroup)
Checks whether the
targetRole is contained in the given group or its parents
(if requested) |
static boolean |
RoleUtils.hasRoleFromGroup(Iterable<GroupModel> groups,
RoleModel targetRole,
boolean checkParentGroup)
Checks whether the
targetRole is contained in any of the groups or their parents
(if requested) |
Modifier and Type | Method and Description |
---|---|
static Set<RoleModel> |
RoleUtils.expandCompositeRoles(Set<RoleModel> roles) |
static boolean |
RoleUtils.hasRole(Set<RoleModel> roles,
RoleModel targetRole) |
Modifier and Type | Method and Description |
---|---|
default void |
UserStorageProvider.preRemove(RealmModel realm,
RoleModel role)
Callback when a role is removed.
|
Modifier and Type | Method and Description |
---|---|
Set<RoleModel> |
AbstractUserAdapterFederatedStorage.getClientRoleMappings(ClientModel app)
Gets role mappings from federated storage and automatically appends default roles.
|
Set<RoleModel> |
AbstractUserAdapter.getClientRoleMappings(ClientModel app) |
protected Set<RoleModel> |
AbstractUserAdapterFederatedStorage.getFederatedRoleMappings() |
Set<RoleModel> |
AbstractUserAdapterFederatedStorage.getRealmRoleMappings()
Gets role mappings from federated storage and automatically appends default roles.
|
Set<RoleModel> |
AbstractUserAdapter.getRealmRoleMappings() |
Set<RoleModel> |
AbstractUserAdapterFederatedStorage.getRoleMappings()
Gets role mappings from federated storage and automatically appends default roles.
|
Set<RoleModel> |
AbstractUserAdapter.getRoleMappings() |
protected Set<RoleModel> |
AbstractUserAdapterFederatedStorage.getRoleMappingsInternal() |
protected Set<RoleModel> |
AbstractUserAdapter.getRoleMappingsInternal() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractUserAdapterFederatedStorage.deleteRoleMapping(RoleModel role) |
void |
AbstractUserAdapter.deleteRoleMapping(RoleModel role) |
void |
AbstractUserAdapterFederatedStorage.grantRole(RoleModel role) |
void |
AbstractUserAdapter.grantRole(RoleModel role) |
boolean |
AbstractUserAdapterFederatedStorage.hasRole(RoleModel role) |
boolean |
AbstractUserAdapter.hasRole(RoleModel role) |
Modifier and Type | Method and Description |
---|---|
default void |
ClientStorageProvider.preRemove(RealmModel realm,
RoleModel role)
Callback when a role is removed.
|
Modifier and Type | Method and Description |
---|---|
Set<RoleModel> |
UserRoleMappingsFederatedStorage.getRoleMappings(RealmModel realm,
String userId) |
Modifier and Type | Method and Description |
---|---|
void |
UserRoleMappingsFederatedStorage.deleteRoleMapping(RealmModel realm,
String userId,
RoleModel role) |
void |
UserRoleMappingsFederatedStorage.grantRole(RealmModel realm,
String userId,
RoleModel role) |
void |
UserFederatedStorageProvider.preRemove(RealmModel realm,
RoleModel role) |
Modifier and Type | Method and Description |
---|---|
default List<UserModel> |
UserQueryProvider.getRoleMembers(RealmModel realm,
RoleModel role)
Get users that belong to a specific role.
|
default List<UserModel> |
UserQueryProvider.getRoleMembers(RealmModel realm,
RoleModel role,
int firstResult,
int maxResults)
Search for users that have a specific role with a specific roleId.
|
void |
UserBulkUpdateProvider.grantToAllUsers(RealmModel realm,
RoleModel role) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.