@RestController
@RequestMapping(value="/dashboard/api/services",
produces="application/json")
public class ServicesController
extends BaseController
localeResolver| Constructor and Description |
|---|
ServicesController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<RestResponse<Action>> |
connect(String idpEntityId,
String comments,
String spEntityId,
String id) |
RestResponse<List<Service>> |
connected(String idpEntityId) |
org.springframework.http.ResponseEntity<RestResponse<Action>> |
disconnect(String idpEntityId,
String comments,
String spEntityId,
String id) |
org.springframework.http.ResponseEntity<Void> |
download(String idpEntityId,
List<Long> ids,
javax.servlet.http.HttpServletResponse response) |
org.springframework.http.ResponseEntity<RestResponse<Service>> |
get(String idpEntityId,
long id) |
RestResponse<List<InstitutionIdentityProvider>> |
getConnectedIdps(String idpEntityId,
String spEntityId) |
RestResponse<List<Service>> |
index(String idpEntityId) |
createRestResponse, getLocale@RequestMapping public RestResponse<List<Service>> index(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId)
@RequestMapping(value="/connected") public RestResponse<List<Service>> connected(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId)
@RequestMapping(value="/idps") public RestResponse<List<InstitutionIdentityProvider>> getConnectedIdps(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId, @RequestParam String spEntityId)
@RequestMapping(value="/download") public org.springframework.http.ResponseEntity<Void> download(@RequestParam(value="idpEntityId") String idpEntityId, @RequestParam(value="id[]") List<Long> ids, javax.servlet.http.HttpServletResponse response)
@RequestMapping(value="/id/{id}")
public org.springframework.http.ResponseEntity<RestResponse<Service>> get(@RequestHeader(value="X-IDP-ENTITY-ID")
String idpEntityId,
@PathVariable
long id)
@RequestMapping(value="/id/{id}/connect",
method=POST)
public org.springframework.http.ResponseEntity<RestResponse<Action>> connect(@RequestHeader(value="X-IDP-ENTITY-ID")
String idpEntityId,
@RequestParam(value="comments",required=false)
String comments,
@RequestParam(value="spEntityId",required=true)
String spEntityId,
@PathVariable
String id)
@RequestMapping(value="/id/{id}/disconnect",
method=POST)
public org.springframework.http.ResponseEntity<RestResponse<Action>> disconnect(@RequestHeader(value="X-IDP-ENTITY-ID")
String idpEntityId,
@RequestParam(value="comments",required=false)
String comments,
@RequestParam(value="spEntityId",required=true)
String spEntityId,
@PathVariable
String id)
Copyright © 2012–2017 Pivotal Software, Inc.. All rights reserved.