@Produces(value={"application/xml","application/json"})
@Consumes(value={"application/xml","application/json"})
@Path(value="trusted-idps")
public interface TrustedIdpService
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addTrustedIDP(javax.ws.rs.core.UriInfo ui,
TrustedIdp trustedIdp) |
javax.ws.rs.core.Response |
deleteTrustedIDP(String realm) |
TrustedIdp |
getTrustedIDP(String realm) |
TrustedIdps |
getTrustedIDPs(int start,
int size,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
updateTrustedIDP(javax.ws.rs.core.UriInfo ui,
String realm,
TrustedIdp trustedIdp) |
@GET @PreAuthorize(value="hasRole(\'TRUSTEDIDP_LIST\')") TrustedIdps getTrustedIDPs(@QueryParam(value="start") int start, @QueryParam(value="size")@DefaultValue(value="2") int size, @Context javax.ws.rs.core.UriInfo uriInfo)
@GET
@Path(value="{realm}")
@PreAuthorize(value="hasRole(\'TRUSTEDIDP_READ\')")
TrustedIdp getTrustedIDP(@PathParam(value="realm")
String realm)
@POST
@PreAuthorize(value="hasRole(\'TRUSTEDIDP_CREATE\')")
javax.ws.rs.core.Response addTrustedIDP(@Context
javax.ws.rs.core.UriInfo ui,
TrustedIdp trustedIdp)
@PUT
@Path(value="{realm}")
@PreAuthorize(value="hasRole(\'TRUSTEDIDP_UPDATE\')")
javax.ws.rs.core.Response updateTrustedIDP(@Context
javax.ws.rs.core.UriInfo ui,
@PathParam(value="realm")
String realm,
TrustedIdp trustedIdp)
@DELETE
@Path(value="{realm}")
@PreAuthorize(value="hasRole(\'TRUSTEDIDP_DELETE\')")
javax.ws.rs.core.Response deleteTrustedIDP(@PathParam(value="realm")
String realm)
Apache Fediz