Uses of Class
org.keycloak.representations.idm.RoleRepresentation
- 
- 
Uses of RoleRepresentation in org.keycloak.admin.client.resourceMethods in org.keycloak.admin.client.resource that return RoleRepresentation Modifier and Type Method Description RoleRepresentationRoleByIdResource. getRole(String id)RoleRepresentationRoleResource. toRepresentation()Methods in org.keycloak.admin.client.resource that return types with arguments of type RoleRepresentation Modifier and Type Method Description Set<RoleRepresentation>RoleByIdResource. getClientRoleComposites(String id, String clientUuid)Set<RoleRepresentation>RoleResource. getClientRoleComposites(String clientUuid)Set<RoleRepresentation>RoleByIdResource. getRealmRoleComposites(String id)Set<RoleRepresentation>RoleResource. getRealmRoleComposites()Set<RoleRepresentation>RoleByIdResource. getRoleComposites(String id)Set<RoleRepresentation>RoleResource. getRoleComposites()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()List<RoleRepresentation>RoleScopeResource. listEffective(boolean briefRepresentation)Set<RoleRepresentation>RoleByIdResource. searchRoleComposites(String id, String search, Integer first, Integer max)Methods in org.keycloak.admin.client.resource with parameters of type RoleRepresentation Modifier and Type Method Description voidRolesResource. create(RoleRepresentation roleRepresentation)voidRoleResource. update(RoleRepresentation roleRepresentation)voidRoleByIdResource. updateRole(String id, RoleRepresentation rep)Method parameters in org.keycloak.admin.client.resource with type arguments of type RoleRepresentation Modifier and Type Method Description voidRoleScopeResource. add(List<RoleRepresentation> rolesToAdd)voidRoleByIdResource. addComposites(String id, List<RoleRepresentation> roles)voidRoleResource. addComposites(List<RoleRepresentation> rolesToAdd)voidRoleByIdResource. deleteComposites(String id, List<RoleRepresentation> roles)voidRoleResource. deleteComposites(List<RoleRepresentation> rolesToRemove)voidRoleScopeResource. remove(List<RoleRepresentation> rolesToRemove)
- 
Uses of RoleRepresentation in org.keycloak.exportimport.utilMethods in org.keycloak.exportimport.util that return RoleRepresentation Modifier and Type Method Description static RoleRepresentationExportUtils. exportRole(RoleModel role)Full export of role including composite rolesMethods in org.keycloak.exportimport.util that return types with arguments of type RoleRepresentation Modifier and Type Method Description static List<RoleRepresentation>ExportUtils. exportRoles(Stream<RoleModel> roles)
- 
Uses of RoleRepresentation in org.keycloak.models.utilsMethods in org.keycloak.models.utils that return RoleRepresentation Modifier and Type Method Description static RoleRepresentationModelToRepresentation. toBriefRepresentation(RoleModel role)static RoleRepresentationModelToRepresentation. toRepresentation(RoleModel role)Methods in org.keycloak.models.utils with parameters of type RoleRepresentation Modifier and Type Method Description static RoleModelRepresentationToModel. createRole(RealmModel newRealm, RoleRepresentation roleRep)
- 
Uses of RoleRepresentation in org.keycloak.partialimportMethods in org.keycloak.partialimport that return types with arguments of type RoleRepresentation Modifier and Type Method Description Map<String,List<RoleRepresentation>>ClientRolesPartialImport. getRepList(PartialImportRepresentation partialImportRep)List<RoleRepresentation>RealmRolesPartialImport. getRepList(PartialImportRepresentation partialImportRep)Map<String,Set<RoleRepresentation>>ClientRolesPartialImport. getToOverwrite()Set<RoleRepresentation>RealmRolesPartialImport. getToOverwrite()Map<String,Set<RoleRepresentation>>ClientRolesPartialImport. getToSkip()Set<RoleRepresentation>RealmRolesPartialImport. getToSkip()Methods in org.keycloak.partialimport with parameters of type RoleRepresentation Modifier and Type Method Description PartialImportResultClientRolesPartialImport. added(String clientId, String modelId, RoleRepresentation roleRep)voidRealmRolesPartialImport. create(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)voidClientRolesPartialImport. deleteRole(RealmModel realm, String clientId, RoleRepresentation roleRep)booleanClientRolesPartialImport. exists(RealmModel realm, KeycloakSession session, String clientId, RoleRepresentation roleRep)booleanRealmRolesPartialImport. exists(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)StringClientRolesPartialImport. existsMessage(String clientId, RoleRepresentation roleRep)StringRealmRolesPartialImport. existsMessage(RealmModel realm, RoleRepresentation roleRep)StringClientRolesPartialImport. getCombinedName(String clientId, RoleRepresentation roleRep)StringRealmRolesPartialImport. getModelId(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)StringClientRolesPartialImport. getName(RoleRepresentation roleRep)StringRealmRolesPartialImport. getName(RoleRepresentation roleRep)PartialImportResultClientRolesPartialImport. overwritten(String clientId, String modelId, RoleRepresentation roleRep)voidRealmRolesPartialImport. remove(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep)PartialImportResultClientRolesPartialImport. skipped(String clientId, String modelId, RoleRepresentation roleRep)
- 
Uses of RoleRepresentation in org.keycloak.representations.idmFields in org.keycloak.representations.idm declared as RoleRepresentation Modifier and Type Field Description protected RoleRepresentationRealmRepresentation. defaultRoleFields in org.keycloak.representations.idm with type parameters of type RoleRepresentation Modifier and Type Field Description protected Map<String,List<RoleRepresentation>>RolesRepresentation. applicationDeprecated.protected Map<String,List<RoleRepresentation>>RolesRepresentation. clientprotected List<RoleRepresentation>ClientMappingsRepresentation. mappingsprotected List<RoleRepresentation>RolesRepresentation. realmprotected List<RoleRepresentation>MappingsRepresentation. realmMappingsMethods in org.keycloak.representations.idm that return RoleRepresentation Modifier and Type Method Description RoleRepresentationRealmRepresentation. getDefaultRole()RoleRepresentationRoleRepresentation. singleAttribute(String name, String value)Methods in org.keycloak.representations.idm that return types with arguments of type RoleRepresentation Modifier and Type Method 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()Methods in org.keycloak.representations.idm with parameters of type RoleRepresentation Modifier and Type Method Description voidRealmRepresentation. setDefaultRole(RoleRepresentation defaultRole)Method parameters in org.keycloak.representations.idm with type arguments of type RoleRepresentation Modifier and Type Method Description voidRolesRepresentation. setClient(Map<String,List<RoleRepresentation>> client)voidClientMappingsRepresentation. setMappings(List<RoleRepresentation> mappings)voidRolesRepresentation. setRealm(List<RoleRepresentation> realm)voidMappingsRepresentation. setRealmMappings(List<RoleRepresentation> realmMappings)
- 
Uses of RoleRepresentation in org.keycloak.services.resources.adminMethods in org.keycloak.services.resources.admin that return RoleRepresentation Modifier and Type Method Description RoleRepresentationRoleByIdResource. getRole(String id)Get a specific role's representationRoleRepresentationRoleContainerResource. getRole(String roleName)Get a role by nameprotected RoleRepresentationRoleResource. getRole(RoleModel roleModel)Methods in org.keycloak.services.resources.admin that return types with arguments of type RoleRepresentation Modifier and Type Method Description Stream<RoleRepresentation>ClientRoleMappingsResource. getAvailableClientRoleMappings()Get available client-level roles that can be mapped to the userStream<RoleRepresentation>ScopeMappedClientResource. getAvailableClientScopeMappings()The available client-level roles Returns the roles for the client that can be associated with the client's scopeStream<RoleRepresentation>RoleMapperResource. getAvailableRealmRoleMappings()Get realm-level roles that can be mappedStream<RoleRepresentation>ScopeMappedResource. getAvailableRealmScopeMappings()Get realm-level roles that are available to attach to this client's scopeStream<RoleRepresentation>RoleByIdResource. getClientRoleComposites(String id, String clientUuid)Get client-level roles for the client that are in the role's compositeStream<RoleRepresentation>RoleContainerResource. getClientRoleComposites(String roleName, String clientUuid)Get client-level roles for the client that are in the role's compositeprotected Stream<RoleRepresentation>RoleResource. getClientRoleComposites(ClientModel app, RoleModel role)Stream<RoleRepresentation>ClientRoleMappingsResource. getClientRoleMappings()Get client-level role mappings for the user, and the appStream<RoleRepresentation>ScopeMappedClientResource. getClientScopeMappings()Get the roles associated with a client's scope Returns roles for the client.Stream<RoleRepresentation>ClientRoleMappingsResource. getCompositeClientRoleMappings(boolean briefRepresentation)Get effective client-level role mappings This recurses any composite rolesStream<RoleRepresentation>ScopeMappedClientResource. getCompositeClientScopeMappings(boolean briefRepresentation)Get effective client roles Returns the roles for the client that are associated with the client's scope.Stream<RoleRepresentation>RoleMapperResource. getCompositeRealmRoleMappings(boolean briefRepresentation)Get effective realm-level role mappings This will recurse all composite roles to get the result.Stream<RoleRepresentation>ScopeMappedResource. getCompositeRealmScopeMappings(boolean briefRepresentation)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.Stream<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.Stream<RoleRepresentation>ClientScopeEvaluateScopeMappingsResource. getNotGrantedScopeMappings()Get roles, which this client doesn't have scope for and can't have them in the accessToken issued for him.Stream<RoleRepresentation>RoleByIdResource. getRealmRoleComposites(String id)Get realm-level roles that are in the role's compositeStream<RoleRepresentation>RoleContainerResource. getRealmRoleComposites(String roleName)Get realm-level roles of the role's compositeprotected Stream<RoleRepresentation>RoleResource. getRealmRoleComposites(RoleModel role)Stream<RoleRepresentation>RoleMapperResource. getRealmRoleMappings()Get realm-level role mappingsStream<RoleRepresentation>ScopeMappedResource. getRealmScopeMappings()Get realm-level roles associated with the client's scopeStream<RoleRepresentation>RoleByIdResource. getRoleComposites(String id, String search, Integer first, Integer max)Get role's children Returns a set of role's children provided the role is a composite.Stream<RoleRepresentation>RoleContainerResource. getRoleComposites(String roleName)Get composites of the roleStream<RoleRepresentation>RoleContainerResource. getRoles(String search, Integer firstResult, Integer maxResults, boolean briefRepresentation)Get all roles for the realm or clientMethods in org.keycloak.services.resources.admin with parameters of type RoleRepresentation Modifier and Type Method Description javax.ws.rs.core.ResponseRoleContainerResource. createRole(RoleRepresentation rep)Create a new role for the realm or clientvoidRoleByIdResource. updateRole(String id, RoleRepresentation rep)Update the rolejavax.ws.rs.core.ResponseRoleContainerResource. updateRole(String roleName, RoleRepresentation rep)Update a role by nameprotected voidRoleResource. updateRole(RoleRepresentation rep, RoleModel role, RealmModel realm, KeycloakSession session)Method parameters in org.keycloak.services.resources.admin with type arguments of type RoleRepresentation Modifier and Type Method Description voidClientRoleMappingsResource. addClientRoleMapping(List<RoleRepresentation> roles)Add client-level roles to the user role mappingvoidScopeMappedClientResource. addClientScopeMapping(List<RoleRepresentation> roles)Add client-level roles to the client's scopevoidRoleByIdResource. addComposites(String id, List<RoleRepresentation> roles)Make the role a composite role by associating some child rolesvoidRoleContainerResource. addComposites(String roleName, List<RoleRepresentation> roles)Add a composite to the roleprotected voidRoleResource. addComposites(AdminPermissionEvaluator auth, AdminEventBuilder adminEvent, javax.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role)voidRoleMapperResource. addRealmRoleMappings(List<RoleRepresentation> roles)Add realm-level role mappings to the uservoidScopeMappedResource. addRealmScopeMappings(List<RoleRepresentation> roles)Add a set of realm-level roles to the client's scopevoidClientRoleMappingsResource. deleteClientRoleMapping(List<RoleRepresentation> roles)Delete client-level roles from user role mappingvoidScopeMappedClientResource. deleteClientScopeMapping(List<RoleRepresentation> roles)Remove client-level roles from the client's scope.voidRoleByIdResource. deleteComposites(String id, List<RoleRepresentation> roles)Remove a set of roles from the role's compositevoidRoleContainerResource. deleteComposites(String roleName, List<RoleRepresentation> roles)Remove roles from the role's compositeprotected voidRoleResource. deleteComposites(AdminEventBuilder adminEvent, javax.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role)voidRoleMapperResource. deleteRealmRoleMappings(List<RoleRepresentation> roles)Delete realm-level role mappingsvoidScopeMappedResource. deleteRealmScopeMappings(List<RoleRepresentation> roles)Remove a set of realm-level roles from the client's scope
 
-