Interface PoliciesResource
-
public interface PoliciesResource
- Author:
- Pedro Igor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregatePoliciesResource
aggregate()
ClientPoliciesResource
client()
ClientScopePoliciesResource
clientScope()
javax.ws.rs.core.Response
create(PolicyRepresentation representation)
PolicyEvaluationResponse
evaluate(PolicyEvaluationRequest evaluationRequest)
PolicyRepresentation
findByName(String name)
GroupPoliciesResource
group()
JSPoliciesResource
js()
List<PolicyRepresentation>
policies()
List<PolicyRepresentation>
policies(String id, String name, String type, String resource, String scope, Boolean permission, String owner, String fields, Integer firstResult, Integer maxResult)
PolicyResource
policy(String id)
List<PolicyProviderRepresentation>
policyProviders()
RegexPoliciesResource
regex()
RolePoliciesResource
role()
TimePoliciesResource
time()
UserPoliciesResource
user()
-
-
-
Method Detail
-
create
@POST @Consumes("application/json") @Produces("application/json") javax.ws.rs.core.Response create(PolicyRepresentation representation)
-
policy
@Path("{id}") PolicyResource policy(@PathParam("id") String id)
-
findByName
@Path("/search") @GET @Produces("application/json") PolicyRepresentation findByName(@QueryParam("name") String name)
-
policies
@GET @Produces("application/json") List<PolicyRepresentation> 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
@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()
-
-