public class EntitlementService extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.jboss.logging.Logger |
logger |
| Constructor and Description |
|---|
EntitlementService(AuthorizationProvider authorization) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
authorizePreFlight(String resourceServerId) |
javax.ws.rs.core.Response |
get(String resourceServerId,
EntitlementRequest entitlementRequest) |
javax.ws.rs.core.Response |
getAll(String resourceServerId) |
public EntitlementService(AuthorizationProvider authorization)
@Path(value="{resource_server_id}")
@OPTIONS
public javax.ws.rs.core.Response authorizePreFlight(@PathParam(value="resource_server_id")
String resourceServerId)
@Path(value="{resource_server_id}")
@GET
@Produces(value="application/json")
@Consumes(value="application/json")
public javax.ws.rs.core.Response getAll(@PathParam(value="resource_server_id")
String resourceServerId)
@Path(value="{resource_server_id}")
@POST
@Consumes(value="application/json")
@Produces(value="application/json")
public javax.ws.rs.core.Response get(@PathParam(value="resource_server_id")
String resourceServerId,
EntitlementRequest entitlementRequest)
Copyright © 2017 JBoss by Red Hat. All rights reserved.