edu.psu.swe.scim.spec.protocol.ServiceProviderConfigResource Maven / Gradle / Ivy
package edu.psu.swe.scim.spec.protocol;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.Response;
import javax.ws.rs.core.Response.Status;
import javax.ws.rs.core.UriInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
//@formatter:off
/**
* From SCIM Protocol Specification, section 4, page 73
*
* @see Scim spec section 4
*
* /ServiceProviderConfig
* An HTTP GET to this endpoint will return a JSON structure that
* describes the SCIM specification features available on a service
* provider. This endpoint SHALL return responses with a JSON object
* using a "schemas" attribute of
* "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig".
* The attributes returned in the JSON object are defined in
* Section 5 of [RFC7643]. An example representation of SCIM service
* provider configuration may be found in Section 8.5 of [RFC7643].
*
* @author chrisharm
*
*/
//@formatter:on
@Path("ServiceProviderConfig")
@Api("SCIM-Configuration")
public interface ServiceProviderConfigResource {
@GET
@Produces(Constants.SCIM_CONTENT_TYPE)
@ApiOperation(value="Get Service Provider Configuration", produces=Constants.SCIM_CONTENT_TYPE)
default public Response getServiceProviderConfiguration(@Context UriInfo context) {
return Response.status(Status.NOT_IMPLEMENTED).build();
}
}