Interface PoliciesResource


public interface PoliciesResource
Author:
Pedro Igor
  • Method Details

    • create

      @POST @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response create(org.keycloak.representations.idm.authorization.PolicyRepresentation representation)
    • policy

      @Path("{id}") PolicyResource policy(@PathParam("id") String id)
    • findByName

      @Path("/search") @GET @Produces("application/json") org.keycloak.representations.idm.authorization.PolicyRepresentation findByName(@QueryParam("name") String name)
    • policies

      @GET @Produces("application/json") List<org.keycloak.representations.idm.authorization.PolicyRepresentation> policies()
    • policies

      @GET @Produces("application/json") List<org.keycloak.representations.idm.authorization.PolicyRepresentation> policies(@QueryParam("policyId") String id, @QueryParam("name") String name, @QueryParam("type") String type, @QueryParam("resource") String resource, @QueryParam("scope") String scope, @QueryParam("permission") Boolean permission, @QueryParam("owner") String owner, @QueryParam("fields") String fields, @QueryParam("first") Integer firstResult, @QueryParam("max") Integer maxResult)
    • policyProviders

      @Path("providers") @GET @Produces("application/json") List<org.keycloak.representations.idm.authorization.PolicyProviderRepresentation> policyProviders()
    • evaluate

      @POST @Consumes("application/json") @Produces("application/json") @Path("evaluate") org.keycloak.representations.idm.authorization.PolicyEvaluationResponse evaluate(org.keycloak.representations.idm.authorization.PolicyEvaluationRequest evaluationRequest)
    • role

      @Path("role") RolePoliciesResource role()
    • user

      @Path("user") UserPoliciesResource user()
    • js

      @Path("js") JSPoliciesResource js()
    • time

      @Path("time") TimePoliciesResource time()
    • aggregate

      @Path("aggregate") AggregatePoliciesResource aggregate()
    • client

      @Path("client") ClientPoliciesResource client()
    • group

      @Path("group") GroupPoliciesResource group()
    • clientScope

      @Path("client-scope") ClientScopePoliciesResource clientScope()
    • regex

      @Path("regex") RegexPoliciesResource regex()