@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 |
|---|---|
RestResponse<List<Service>> |
byEnntityIds(List<String> entityIds,
Locale locale) |
org.springframework.http.ResponseEntity<RestResponse<Action>> |
connect(String idpEntityId,
String comments,
String loaLevel,
String spEntityId,
String type,
String emailContactPerson,
Locale locale) |
RestResponse<List<Service>> |
connected(String idpEntityId,
Locale locale) |
org.springframework.http.ResponseEntity<RestResponse<Action>> |
disconnect(String idpEntityId,
String comments,
String spEntityId,
String type,
Locale locale) |
List<String[]> |
download(Map<String,Object> body,
Locale locale) |
static Service |
eraseMailsFromService(Service service) |
org.springframework.http.ResponseEntity<RestResponse<Service>> |
get(String idpEntityId,
Long spId,
String entityType,
Locale locale) |
RestResponse<List<InstitutionIdentityProvider>> |
getConnectedIdps(String idpEntityId,
String spEntityId,
String type) |
RestResponse<Map<String,Object>> |
index(String idpEntityId,
Locale locale) |
RestResponse<Map<String,Object>> |
invitationRequestServices(String idpEntityId,
Locale locale) |
createRestResponse, getLocale@RequestMapping public RestResponse<Map<String,Object>> index(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId, Locale locale) throws IOException
IOException@RequestMapping(value="/invitation-request-services") public RestResponse<Map<String,Object>> invitationRequestServices(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId, Locale locale) throws IOException
IOException@RequestMapping(value="/connected") public RestResponse<List<Service>> connected(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId, Locale locale) throws IOException
IOException@PostMapping(value="/by-entity-ids") public RestResponse<List<Service>> byEnntityIds(@RequestBody List<String> entityIds, Locale locale) throws IOException
IOException@RequestMapping(value="/idps") public RestResponse<List<InstitutionIdentityProvider>> getConnectedIdps(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId, @RequestParam String spEntityId, @RequestParam String type)
@PostMapping(value="/download") public List<String[]> download(@RequestBody Map<String,Object> body, Locale locale) throws IOException
IOException@RequestMapping(value="/detail") public org.springframework.http.ResponseEntity<RestResponse<Service>> get(@RequestHeader(value="X-IDP-ENTITY-ID") String idpEntityId, @RequestParam Long spId, @RequestParam String entityType, Locale locale) throws IOException
IOException@PreAuthorize(value="hasAnyRole(\'DASHBOARD_ADMIN\',\'DASHBOARD_VIEWER\',\'DASHBOARD_SUPER_USER\')")
@RequestMapping(value="/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="loaLevel",required=false)
String loaLevel,
@RequestParam(value="spEntityId")
String spEntityId,
@RequestParam(value="type")
String type,
@RequestParam(value="emailContactPerson",required=false)
String emailContactPerson,
Locale locale)
throws IOException
IOException@PreAuthorize(value="hasAnyRole(\'DASHBOARD_ADMIN\',\'DASHBOARD_VIEWER\',\'DASHBOARD_SUPER_USER\')")
@RequestMapping(value="/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")
String spEntityId,
@RequestParam(value="type")
String type,
Locale locale)
throws IOException
IOExceptionCopyright © 2012–2021 Pivotal Software, Inc.. All rights reserved.