Uses of Class
org.keycloak.representations.idm.RoleRepresentation
Packages that use RoleRepresentation
Package
Description
-
Uses of RoleRepresentation in org.keycloak.admin.client.resource
Methods in org.keycloak.admin.client.resource that return RoleRepresentationMethods in org.keycloak.admin.client.resource that return types with arguments of type RoleRepresentationModifier and TypeMethodDescriptionRoleByIdResource.getClientRoleComposites(String id, String clientUuid) RoleResource.getClientRoleComposites(String clientUuid) RoleByIdResource.getRealmRoleComposites(String id) RoleResource.getRealmRoleComposites()RoleByIdResource.getRoleComposites(String id) RoleResource.getRoleComposites()RolesResource.list()RolesResource.list(boolean briefRepresentation) Get roles by pagination params.Get roles by pagination params.Get roles by pagination params.Get roles by pagination params.RolesResource.list(String search, Integer firstResult, Integer maxResults, boolean briefRepresentation) Get roles by pagination params.RoleScopeResource.listAll()RoleScopeResource.listAvailable()RoleScopeResource.listEffective()RoleScopeResource.listEffective(boolean briefRepresentation) RoleByIdResource.searchRoleComposites(String id, String search, Integer first, Integer max) Methods in org.keycloak.admin.client.resource with parameters of type RoleRepresentationModifier and TypeMethodDescriptionvoidRolesResource.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 RoleRepresentationModifier and TypeMethodDescriptionvoidRoleScopeResource.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.util
Methods in org.keycloak.exportimport.util that return RoleRepresentationModifier and TypeMethodDescriptionstatic RoleRepresentationExportUtils.exportRole(RoleModel role) Full export of role including composite rolesMethods in org.keycloak.exportimport.util that return types with arguments of type RoleRepresentationModifier and TypeMethodDescriptionstatic List<RoleRepresentation>ExportUtils.exportRoles(Stream<RoleModel> roles) -
Uses of RoleRepresentation in org.keycloak.models.utils
Methods in org.keycloak.models.utils that return RoleRepresentationModifier and TypeMethodDescriptionstatic RoleRepresentationModelToRepresentation.toBriefRepresentation(RoleModel role) static RoleRepresentationModelToRepresentation.toRepresentation(RoleModel role) Methods in org.keycloak.models.utils with parameters of type RoleRepresentationModifier and TypeMethodDescriptionstatic RoleModelRepresentationToModel.createRole(RealmModel newRealm, RoleRepresentation roleRep) -
Uses of RoleRepresentation in org.keycloak.partialimport
Methods in org.keycloak.partialimport that return types with arguments of type RoleRepresentationModifier and TypeMethodDescriptionClientRolesPartialImport.getRepList(PartialImportRepresentation partialImportRep) RealmRolesPartialImport.getRepList(PartialImportRepresentation partialImportRep) ClientRolesPartialImport.getToOverwrite()RealmRolesPartialImport.getToOverwrite()ClientRolesPartialImport.getToSkip()RealmRolesPartialImport.getToSkip()Methods in org.keycloak.partialimport with parameters of type RoleRepresentationModifier and TypeMethodDescriptionClientRolesPartialImport.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) ClientRolesPartialImport.existsMessage(String clientId, RoleRepresentation roleRep) RealmRolesPartialImport.existsMessage(RealmModel realm, RoleRepresentation roleRep) ClientRolesPartialImport.getCombinedName(String clientId, RoleRepresentation roleRep) RealmRolesPartialImport.getModelId(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep) ClientRolesPartialImport.getName(RoleRepresentation roleRep) RealmRolesPartialImport.getName(RoleRepresentation roleRep) ClientRolesPartialImport.overwritten(String clientId, String modelId, RoleRepresentation roleRep) voidRealmRolesPartialImport.remove(RealmModel realm, KeycloakSession session, RoleRepresentation roleRep) ClientRolesPartialImport.skipped(String clientId, String modelId, RoleRepresentation roleRep) -
Uses of RoleRepresentation in org.keycloak.representations.idm
Fields in org.keycloak.representations.idm declared as RoleRepresentationFields in org.keycloak.representations.idm with type parameters of type RoleRepresentationModifier and TypeFieldDescriptionprotected 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 RoleRepresentationModifier and TypeMethodDescriptionRealmRepresentation.getDefaultRole()RoleRepresentation.singleAttribute(String name, String value) Methods in org.keycloak.representations.idm that return types with arguments of type RoleRepresentationModifier and TypeMethodDescriptionRolesRepresentation.getApplication()Deprecated.RolesRepresentation.getClient()ClientMappingsRepresentation.getMappings()RolesRepresentation.getRealm()MappingsRepresentation.getRealmMappings()Methods in org.keycloak.representations.idm with parameters of type RoleRepresentationModifier and TypeMethodDescriptionvoidRealmRepresentation.setDefaultRole(RoleRepresentation defaultRole) Method parameters in org.keycloak.representations.idm with type arguments of type RoleRepresentationModifier and TypeMethodDescriptionvoidRolesRepresentation.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.admin
Methods in org.keycloak.services.resources.admin that return RoleRepresentationModifier and TypeMethodDescriptionGet a specific role's representationGet a role by nameprotected RoleRepresentationMethods in org.keycloak.services.resources.admin that return types with arguments of type RoleRepresentationModifier and TypeMethodDescriptionClientRoleMappingsResource.getAvailableClientRoleMappings()Get available client-level roles that can be mapped to the user or groupScopeMappedClientResource.getAvailableClientScopeMappings()The available client-level roles Returns the roles for the client that can be associated with the client's scopeRoleMapperResource.getAvailableRealmRoleMappings()Get realm-level roles that can be mappedScopeMappedResource.getAvailableRealmScopeMappings()Get realm-level roles that are available to attach to this client's scopeRoleByIdResource.getClientRoleComposites(String id, String clientUuid) Get client-level roles for the client that are in the role's compositeRoleContainerResource.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) ClientRoleMappingsResource.getClientRoleMappings()Get client-level role mappings for the user, and the appScopeMappedClientResource.getClientScopeMappings()Get the roles associated with a client's scope Returns roles for the client.ClientRoleMappingsResource.getCompositeClientRoleMappings(boolean briefRepresentation) Get effective client-level role mappings This recurses any composite rolesScopeMappedClientResource.getCompositeClientScopeMappings(boolean briefRepresentation) Get effective client roles Returns the roles for the client that are associated with the client's scope.RoleMapperResource.getCompositeRealmRoleMappings(boolean briefRepresentation) Get effective realm-level role mappings This will recurse all composite roles to get the result.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.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.ClientScopeEvaluateScopeMappingsResource.getNotGrantedScopeMappings()Get roles, which this client doesn't have scope for and can't have them in the accessToken issued for him.RoleByIdResource.getRealmRoleComposites(String id) Get realm-level roles that are in the role's compositeRoleContainerResource.getRealmRoleComposites(String roleName) Get realm-level roles of the role's compositeprotected Stream<RoleRepresentation>RoleResource.getRealmRoleComposites(RoleModel role) RoleMapperResource.getRealmRoleMappings()Get realm-level role mappingsScopeMappedResource.getRealmScopeMappings()Get realm-level roles associated with the client's scopeRoleByIdResource.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.RoleContainerResource.getRoleComposites(String roleName) Get composites of the roleRoleContainerResource.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 RoleRepresentationModifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseRoleContainerResource.createRole(RoleRepresentation rep) Create a new role for the realm or clientvoidRoleByIdResource.updateRole(String id, RoleRepresentation rep) Update the rolejakarta.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 RoleRepresentationModifier and TypeMethodDescriptionvoidClientRoleMappingsResource.addClientRoleMapping(List<RoleRepresentation> roles) Add client-level roles to the user or group 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, jakarta.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 or group 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, jakarta.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