Class PolicyResourceService

java.lang.Object
org.keycloak.authorization.admin.PolicyResourceService
Direct Known Subclasses:
PolicyTypeResourceService

public class PolicyResourceService extends Object
Author:
Pedro Igor
  • Field Details

  • Constructor Details

  • Method Details

    • update

      @PUT @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response update(String payload)
    • delete

      @DELETE public jakarta.ws.rs.core.Response delete()
    • findById

      @GET @Produces("application/json") public jakarta.ws.rs.core.Response findById(@QueryParam("fields") String fields)
    • toRepresentation

      protected AbstractPolicyRepresentation toRepresentation(Policy policy, String fields, AuthorizationProvider authorization)
    • getDependentPolicies

      @Path("/dependentPolicies") @GET @Produces("application/json") public jakarta.ws.rs.core.Response getDependentPolicies()
    • getScopes

      @Path("/scopes") @GET @Produces("application/json") public jakarta.ws.rs.core.Response getScopes()
    • getResources

      @Path("/resources") @GET @Produces("application/json") public jakarta.ws.rs.core.Response getResources()
    • getAssociatedPolicies

      @Path("/associatedPolicies") @GET @Produces("application/json") public jakarta.ws.rs.core.Response getAssociatedPolicies()
    • doCreateRepresentation

      protected AbstractPolicyRepresentation doCreateRepresentation(String payload)
    • getPolicy

      protected Policy getPolicy()