Modifier and Type | Method and Description |
---|---|
RoleRepresentation |
RoleByIdResource.getRole(String id) |
RoleRepresentation |
RoleResource.toRepresentation() |
Modifier and Type | Method and Description |
---|---|
Set<RoleRepresentation> |
RoleResource.getClientRoleComposites(String appName) |
Set<RoleRepresentation> |
RoleByIdResource.getClientRoleComposites(String id,
String client) |
Set<RoleRepresentation> |
RoleResource.getRealmRoleComposites() |
Set<RoleRepresentation> |
RoleByIdResource.getRealmRoleComposites(String id) |
Set<RoleRepresentation> |
RoleResource.getRoleComposites() |
Set<RoleRepresentation> |
RoleByIdResource.getRoleComposites(String id) |
List<RoleRepresentation> |
RolesResource.list() |
List<RoleRepresentation> |
RolesResource.list(boolean briefRepresentation) |
List<RoleRepresentation> |
RolesResource.list(Integer firstResult,
Integer maxResults)
Get roles by pagination params.
|
List<RoleRepresentation> |
RolesResource.list(Integer firstResult,
Integer maxResults,
boolean briefRepresentation)
Get roles by pagination params.
|
List<RoleRepresentation> |
RolesResource.list(String search,
boolean briefRepresentation)
Get roles by pagination params.
|
List<RoleRepresentation> |
RolesResource.list(String search,
Integer firstResult,
Integer maxResults)
Get roles by pagination params.
|
List<RoleRepresentation> |
RolesResource.list(String search,
Integer firstResult,
Integer maxResults,
boolean briefRepresentation)
Get roles by pagination params.
|
List<RoleRepresentation> |
RoleScopeResource.listAll() |
List<RoleRepresentation> |
RoleScopeResource.listAvailable() |
List<RoleRepresentation> |
RoleScopeResource.listEffective() |
Modifier and Type | Method and Description |
---|---|
void |
RolesResource.create(RoleRepresentation roleRepresentation) |
void |
RoleResource.update(RoleRepresentation roleRepresentation) |
void |
RoleByIdResource.updateRole(String id,
RoleRepresentation rep) |
Modifier and Type | Method and Description |
---|---|
void |
RoleScopeResource.add(List<RoleRepresentation> rolesToAdd) |
void |
RoleResource.addComposites(List<RoleRepresentation> rolesToAdd) |
void |
RoleByIdResource.addComposites(String id,
List<RoleRepresentation> roles) |
void |
RoleResource.deleteComposites(List<RoleRepresentation> rolesToRemove) |
void |
RoleByIdResource.deleteComposites(String id,
List<RoleRepresentation> roles) |
void |
RoleScopeResource.remove(List<RoleRepresentation> rolesToRemove) |
Modifier and Type | Method and Description |
---|---|
static RoleRepresentation |
ExportUtils.exportRole(RoleModel role)
Full export of role including composite roles
|
Modifier and Type | Method and Description |
---|---|
static List<RoleRepresentation> |
ExportUtils.exportRoles(Collection<RoleModel> roles) |
Modifier and Type | Method and Description |
---|---|
static RoleRepresentation |
ModelToRepresentation.toBriefRepresentation(RoleModel role) |
static RoleRepresentation |
ModelToRepresentation.toRepresentation(RoleModel role) |
Modifier and Type | Method and Description |
---|---|
static void |
RepresentationToModel.createRole(RealmModel newRealm,
RoleRepresentation roleRep) |
Modifier and Type | Method and Description |
---|---|
List<RoleRepresentation> |
RealmRolesPartialImport.getRepList(PartialImportRepresentation partialImportRep) |
Map<String,List<RoleRepresentation>> |
ClientRolesPartialImport.getRepList(PartialImportRepresentation partialImportRep) |
Set<RoleRepresentation> |
RealmRolesPartialImport.getToOverwrite() |
Map<String,Set<RoleRepresentation>> |
ClientRolesPartialImport.getToOverwrite() |
Set<RoleRepresentation> |
RealmRolesPartialImport.getToSkip() |
Map<String,Set<RoleRepresentation>> |
ClientRolesPartialImport.getToSkip() |
Modifier and Type | Method and Description |
---|---|
PartialImportResult |
ClientRolesPartialImport.added(String clientId,
String modelId,
RoleRepresentation roleRep) |
void |
RealmRolesPartialImport.create(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
void |
ClientRolesPartialImport.deleteRole(RealmModel realm,
String clientId,
RoleRepresentation roleRep) |
boolean |
RealmRolesPartialImport.exists(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
boolean |
ClientRolesPartialImport.exists(RealmModel realm,
KeycloakSession session,
String clientId,
RoleRepresentation roleRep) |
String |
RealmRolesPartialImport.existsMessage(RealmModel realm,
RoleRepresentation roleRep) |
String |
ClientRolesPartialImport.existsMessage(String clientId,
RoleRepresentation roleRep) |
String |
ClientRolesPartialImport.getCombinedName(String clientId,
RoleRepresentation roleRep) |
String |
RealmRolesPartialImport.getModelId(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
String |
RealmRolesPartialImport.getName(RoleRepresentation roleRep) |
String |
ClientRolesPartialImport.getName(RoleRepresentation roleRep) |
PartialImportResult |
ClientRolesPartialImport.overwritten(String clientId,
String modelId,
RoleRepresentation roleRep) |
void |
RealmRolesPartialImport.remove(RealmModel realm,
KeycloakSession session,
RoleRepresentation roleRep) |
PartialImportResult |
ClientRolesPartialImport.skipped(String clientId,
String modelId,
RoleRepresentation roleRep) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<RoleRepresentation>> |
RolesRepresentation.application
Deprecated.
|
protected Map<String,List<RoleRepresentation>> |
RolesRepresentation.client |
protected List<RoleRepresentation> |
ClientMappingsRepresentation.mappings |
protected List<RoleRepresentation> |
RolesRepresentation.realm |
protected List<RoleRepresentation> |
MappingsRepresentation.realmMappings |
Modifier and Type | Method and Description |
---|---|
RoleRepresentation |
RoleRepresentation.singleAttribute(String name,
String value) |
Modifier and Type | Method and Description |
---|---|
Map<String,List<RoleRepresentation>> |
RolesRepresentation.getApplication()
Deprecated.
|
Map<String,List<RoleRepresentation>> |
RolesRepresentation.getClient() |
List<RoleRepresentation> |
ClientMappingsRepresentation.getMappings() |
List<RoleRepresentation> |
RolesRepresentation.getRealm() |
List<RoleRepresentation> |
MappingsRepresentation.getRealmMappings() |
Modifier and Type | Method and Description |
---|---|
void |
RolesRepresentation.setClient(Map<String,List<RoleRepresentation>> client) |
void |
ClientMappingsRepresentation.setMappings(List<RoleRepresentation> mappings) |
void |
RolesRepresentation.setRealm(List<RoleRepresentation> realm) |
void |
MappingsRepresentation.setRealmMappings(List<RoleRepresentation> realmMappings) |
Modifier and Type | Method and Description |
---|---|
protected RoleRepresentation |
RoleResource.getRole(RoleModel roleModel) |
RoleRepresentation |
RoleContainerResource.getRole(String roleName)
Get a role by name
|
RoleRepresentation |
RoleByIdResource.getRole(String id)
Get a specific role's representation
|
Modifier and Type | Method and Description |
---|---|
static List<RoleRepresentation> |
ScopeMappedResource.getAvailable(AdminPermissionEvaluator auth,
ScopeContainerModel client,
Set<RoleModel> roles) |
List<RoleRepresentation> |
ClientRoleMappingsResource.getAvailableClientRoleMappings()
Get available client-level roles that can be mapped to the user
|
List<RoleRepresentation> |
ScopeMappedClientResource.getAvailableClientScopeMappings()
The available client-level roles
Returns the roles for the client that can be associated with the client's scope
|
List<RoleRepresentation> |
RoleMapperResource.getAvailableRealmRoleMappings()
Get realm-level roles that can be mapped
|
List<RoleRepresentation> |
ScopeMappedResource.getAvailableRealmScopeMappings()
Get realm-level roles that are available to attach to this client's scope
|
static List<RoleRepresentation> |
ClientRoleMappingsResource.getAvailableRoles(RoleMapperModel mapper,
Set<RoleModel> available) |
protected Set<RoleRepresentation> |
RoleResource.getClientRoleComposites(ClientModel app,
RoleModel role) |
Set<RoleRepresentation> |
RoleContainerResource.getClientRoleComposites(String roleName,
String client)
An app-level roles for the specified app for the role's composite
|
Set<RoleRepresentation> |
RoleByIdResource.getClientRoleComposites(String id,
String client)
Get client-level roles for the client that are in the role's composite
|
List<RoleRepresentation> |
ClientRoleMappingsResource.getClientRoleMappings()
Get client-level role mappings for the user, and the app
|
List<RoleRepresentation> |
ScopeMappedClientResource.getClientScopeMappings()
Get the roles associated with a client's scope
Returns roles for the client.
|
static List<RoleRepresentation> |
ScopeMappedResource.getComposite(ScopeContainerModel client,
Set<RoleModel> roles) |
List<RoleRepresentation> |
ClientRoleMappingsResource.getCompositeClientRoleMappings()
Get effective client-level role mappings
This recurses any composite roles
|
List<RoleRepresentation> |
ScopeMappedClientResource.getCompositeClientScopeMappings()
Get effective client roles
Returns the roles for the client that are associated with the client's scope.
|
List<RoleRepresentation> |
RoleMapperResource.getCompositeRealmRoleMappings()
Get effective realm-level role mappings
This will recurse all composite roles to get the result.
|
List<RoleRepresentation> |
ScopeMappedResource.getCompositeRealmScopeMappings()
Get effective realm-level roles associated with the client's scope
What this does is recurse
any composite roles associated with the client's scope and adds the roles to this lists.
|
List<RoleRepresentation> |
ClientScopeEvaluateScopeMappingsResource.getGrantedScopeMappings()
Get effective scope mapping of all roles of particular role container, which this client is defacto allowed to have in the accessToken issued for him.
|
List<RoleRepresentation> |
ClientScopeEvaluateScopeMappingsResource.getNotGrantedScopeMappings()
Get roles, which this client doesn't have scope for and can't have them in the accessToken issued for him.
|
protected Set<RoleRepresentation> |
RoleResource.getRealmRoleComposites(RoleModel role) |
Set<RoleRepresentation> |
RoleContainerResource.getRealmRoleComposites(String roleName)
Get realm-level roles of the role's composite
|
Set<RoleRepresentation> |
RoleByIdResource.getRealmRoleComposites(String id)
Get realm-level roles that are in the role's composite
|
List<RoleRepresentation> |
RoleMapperResource.getRealmRoleMappings()
Get realm-level role mappings
|
List<RoleRepresentation> |
ScopeMappedResource.getRealmScopeMappings()
Get realm-level roles associated with the client's scope
|
protected Set<RoleRepresentation> |
RoleResource.getRoleComposites(RoleModel role) |
Set<RoleRepresentation> |
RoleContainerResource.getRoleComposites(String roleName)
Get composites of the role
|
Set<RoleRepresentation> |
RoleByIdResource.getRoleComposites(String id)
Get role's children
Returns a set of role's children provided the role is a composite.
|
List<RoleRepresentation> |
RoleContainerResource.getRoles(String search,
Integer firstResult,
Integer maxResults,
boolean briefRepresentation)
Get all roles for the realm or client
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
RoleContainerResource.createRole(RoleRepresentation rep)
Create a new role for the realm or client
|
protected void |
RoleResource.updateRole(RoleRepresentation rep,
RoleModel role) |
javax.ws.rs.core.Response |
RoleContainerResource.updateRole(String roleName,
RoleRepresentation rep)
Update a role by name
|
void |
RoleByIdResource.updateRole(String id,
RoleRepresentation rep)
Update the role
|
Modifier and Type | Method and Description |
---|---|
void |
ClientRoleMappingsResource.addClientRoleMapping(List<RoleRepresentation> roles)
Add client-level roles to the user role mapping
|
void |
ScopeMappedClientResource.addClientScopeMapping(List<RoleRepresentation> roles)
Add client-level roles to the client's scope
|
protected void |
RoleResource.addComposites(AdminPermissionEvaluator auth,
AdminEventBuilder adminEvent,
javax.ws.rs.core.UriInfo uriInfo,
List<RoleRepresentation> roles,
RoleModel role) |
void |
RoleContainerResource.addComposites(String roleName,
List<RoleRepresentation> roles)
Add a composite to the role
|
void |
RoleByIdResource.addComposites(String id,
List<RoleRepresentation> roles)
Make the role a composite role by associating some child roles
|
void |
RoleMapperResource.addRealmRoleMappings(List<RoleRepresentation> roles)
Add realm-level role mappings to the user
|
void |
ScopeMappedResource.addRealmScopeMappings(List<RoleRepresentation> roles)
Add a set of realm-level roles to the client's scope
|
void |
ClientRoleMappingsResource.deleteClientRoleMapping(List<RoleRepresentation> roles)
Delete client-level roles from user role mapping
|
void |
ScopeMappedClientResource.deleteClientScopeMapping(List<RoleRepresentation> roles)
Remove client-level roles from the client's scope.
|
protected void |
RoleResource.deleteComposites(AdminEventBuilder adminEvent,
javax.ws.rs.core.UriInfo uriInfo,
List<RoleRepresentation> roles,
RoleModel role) |
void |
RoleContainerResource.deleteComposites(String roleName,
List<RoleRepresentation> roles)
Remove roles from the role's composite
|
void |
RoleByIdResource.deleteComposites(String id,
List<RoleRepresentation> roles)
Remove a set of roles from the role's composite
|
void |
RoleMapperResource.deleteRealmRoleMappings(List<RoleRepresentation> roles)
Delete realm-level role mappings
|
void |
ScopeMappedResource.deleteRealmScopeMappings(List<RoleRepresentation> roles)
Remove a set of realm-level roles from the client's scope
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.