Interface SchemaResource

All Known Implementing Classes:

@Path("Schemas") public interface SchemaResource
From SCIM Protocol Specification, section 4, page 74
See Also:
  • Scim spec section 4 /Schemas An HTTP GET to this endpoint is used to retrieve information about resource schemas supported by a SCIM service provider. An HTTP GET to the endpoint "/Schemas" SHALL return all supported schemas in ListResponse format (see Figure 3). Individual schema definitions can be returned by appending the schema URI to the /Schemas endpoint. For example: /Schemas/urn:ietf:params:scim:schemas:core:2.0:User The contents of each schema returned are described in Section 7 of [RFC7643]. An example representation of SCIM schemas may be found in Section 8.7 of [RFC7643]. In cases where a request is for a specific "ResourceType" or "Schema", the single JSON object is returned in the same way that a single User or Group is retrieved, as per Section 3.4.1. When returning multiple ResourceTypes or Schemas, the message form described by the "urn:ietf:params:scim:api:messages:2.0:ListResponse" (ListResponse) form SHALL be used as shown in Figure 3 and in Figure 9 below. Query parameters described in Section 3.4.2, such as filtering, sorting, and pagination, SHALL be ignored. If a "filter" is provided, the service provider SHOULD respond with HTTP status code 403 (Forbidden) to ensure that clients cannot incorrectly assume that any matching conditions specified in a filter are true.
  • Method Summary

    Modifier and Type
    getAllSchemas(String filter, uriInfo)
    getSchema(String uri, uriInfo)
  • Method Details

    • getAllSchemas

      @GET @Produces({"application/scim+json","application/json"}) default getAllSchemas(@QueryParam("filter") String filter, @Context uriInfo)
    • getSchema

      @GET @Path("{uri}") @Produces({"application/scim+json","application/json"}) default getSchema(@PathParam("uri") String uri, @Context uriInfo)