Class UserManagedPermissionService
java.lang.Object
org.keycloak.authorization.protection.policy.UserManagedPermissionService
- Author:
- Federico M. Facca
-
Constructor Summary
ConstructorDescriptionUserManagedPermissionService
(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization, AdminEventBuilder eventBuilder) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.Response
create
(String resourceId, UmaPermissionRepresentation representation) jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
jakarta.ws.rs.core.Response
-
Constructor Details
-
UserManagedPermissionService
public UserManagedPermissionService(KeycloakIdentity identity, ResourceServer resourceServer, AuthorizationProvider authorization, AdminEventBuilder eventBuilder)
-
-
Method Details
-
create
@POST @Path("{resourceId}") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response create(@PathParam("resourceId") String resourceId, UmaPermissionRepresentation representation) -
update
-
delete
@Path("{policyId}") @DELETE public jakarta.ws.rs.core.Response delete(@PathParam("policyId") String policyId) -
findById
@Path("{policyId}") @GET @Produces("application/json") public jakarta.ws.rs.core.Response findById(@PathParam("policyId") String policyId) -
find
-