Interface PoliciesResource
public interface PoliciesResource
- Author:
- Pedro Igor
-
Method Summary
Modifier and TypeMethodDescriptionclient()
jakarta.ws.rs.core.Response
create
(PolicyRepresentation representation) evaluate
(PolicyEvaluationRequest evaluationRequest) findByName
(String name) group()
js()
policies()
policies
(String id, String name, String type, String resource, String scope, Boolean permission, String owner, String fields, Integer firstResult, Integer maxResult) regex()
role()
time()
user()
-
Method Details
-
create
@POST @Consumes("application/json") @Produces("application/json") jakarta.ws.rs.core.Response create(PolicyRepresentation representation) -
policy
-
findByName
@Path("/search") @GET @Produces("application/json") PolicyRepresentation findByName(@QueryParam("name") String name) -
policies
-
policies
@GET @Produces("application/json") List<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<PolicyProviderRepresentation> policyProviders() -
evaluate
@POST @Consumes("application/json") @Produces("application/json") @Path("evaluate") PolicyEvaluationResponse evaluate(PolicyEvaluationRequest evaluationRequest) -
role
-
user
-
js
-
time
-
aggregate
-
client
-
group
-
clientScope
-
regex
-