Class RoleResource
java.lang.Object
org.keycloak.services.resources.admin.RoleResource
- Direct Known Subclasses:
RealmRolesPartialImport.RoleHelper
,RoleByIdResource
,RoleContainerResource
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addComposites
(AdminPermissionEvaluator auth, AdminEventBuilder adminEvent, jakarta.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role) protected void
deleteComposites
(AdminEventBuilder adminEvent, jakarta.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role) protected void
deleteRole
(RoleModel role) protected Stream<RoleRepresentation>
getClientRoleComposites
(ClientModel app, RoleModel role) protected Stream<RoleRepresentation>
protected RoleRepresentation
protected void
updateRole
(RoleRepresentation rep, RoleModel role, RealmModel realm, KeycloakSession session)
-
Field Details
-
realm
-
-
Constructor Details
-
RoleResource
-
-
Method Details
-
getRole
-
deleteRole
-
updateRole
protected void updateRole(RoleRepresentation rep, RoleModel role, RealmModel realm, KeycloakSession session) -
addComposites
protected void addComposites(AdminPermissionEvaluator auth, AdminEventBuilder adminEvent, jakarta.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role) -
getRealmRoleComposites
-
getClientRoleComposites
-
deleteComposites
protected void deleteComposites(AdminEventBuilder adminEvent, jakarta.ws.rs.core.UriInfo uriInfo, List<RoleRepresentation> roles, RoleModel role)
-