@RestController
@RequestMapping(value="/dashboard/api/users",
produces="application/json")
public class UsersController
extends BaseController
localeResolver| Constructor and Description |
|---|
UsersController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Void> |
currentIdp(String switchToIdp,
String role,
javax.servlet.http.HttpServletResponse response) |
List<Consent> |
disableConsent() |
protected List<Change> |
getChanges(Locale locale,
Settings settings,
IdentityProvider idp) |
protected List<Change> |
getChanges(String idpId,
Optional<Consent> previousConsentOptional,
Consent consent) |
protected List<Change> |
getChanges(String idpId,
String previousMinimalLoaLevel,
String newMinimalLoaLevel) |
org.springframework.http.ResponseEntity<RestResponse<Map<String,List<?>>>> |
idps() |
org.springframework.http.ResponseEntity<RestResponse<Object>> |
inviteRequest(InviteRequest inviteRequest) |
RestResponse<CoinUser> |
me() |
org.springframework.http.ResponseEntity<RestResponse<Object>> |
resendInviteRequest(ResendInviteRequest resendInviteRequest) |
RestResponse<List<Service>> |
serviceProviders(Locale locale) |
org.springframework.http.ResponseEntity<RestResponse<Object>> |
updateConsentSettings(String idpEntityId,
Consent consent) |
org.springframework.http.ResponseEntity<RestResponse<Object>> |
updateInviteRequest(UpdateInviteRequest updateInviteRequest,
Locale locale) |
org.springframework.http.ResponseEntity<RestResponse<Object>> |
updateSettings(String idpEntityId,
Locale locale,
Settings settings) |
org.springframework.http.ResponseEntity<RestResponse<Object>> |
updateSurfSecureId(String idpEntityId,
LoaLevelChange loaLevelChange) |
createRestResponse, getLocale@RequestMapping(value="/me") public RestResponse<CoinUser> me()
@PreAuthorize(value="hasRole(\'DASHBOARD_SUPER_USER\')") @PostMapping(value="/inviteRequest") public org.springframework.http.ResponseEntity<RestResponse<Object>> inviteRequest(@RequestBody InviteRequest inviteRequest) throws IOException, javax.mail.MessagingException
IOExceptionjavax.mail.MessagingException@PreAuthorize(value="hasAnyRole(\'DASHBOARD_ADMIN\',\'DASHBOARD_SUPER_USER\')") @PutMapping(value="/inviteRequest") public org.springframework.http.ResponseEntity<RestResponse<Object>> updateInviteRequest(@RequestBody UpdateInviteRequest updateInviteRequest, Locale locale) throws IOException
IOException@PreAuthorize(value="hasRole(\'DASHBOARD_SUPER_USER\')") @PostMapping(value="/resendInviteRequest") public org.springframework.http.ResponseEntity<RestResponse<Object>> resendInviteRequest(@RequestBody ResendInviteRequest resendInviteRequest) throws IOException, javax.mail.MessagingException
IOExceptionjavax.mail.MessagingException@PreAuthorize(value="hasAnyRole(\'DASHBOARD_SUPER_USER\')") @RequestMapping(value="/super/idps") public org.springframework.http.ResponseEntity<RestResponse<Map<String,List<?>>>> idps()
@RequestMapping(value="/me/serviceproviders",
method=GET)
public RestResponse<List<Service>> serviceProviders(Locale locale)
throws IOException
IOException@PreAuthorize(value="hasAnyRole(\'DASHBOARD_ADMIN\',\'DASHBOARD_VIEWER\',\'DASHBOARD_SUPER_USER\')") @RequestMapping(value="/me/switch-to-idp") public org.springframework.http.ResponseEntity<Void> currentIdp(@RequestParam(value="idpId",required=false) String switchToIdp, @RequestParam(value="role",required=false) String role, javax.servlet.http.HttpServletResponse response)
@PreAuthorize(value="hasAnyRole(\'DASHBOARD_ADMIN\',\'DASHBOARD_VIEWER\',\'DASHBOARD_SUPER_USER\')")
@RequestMapping(value="/me/consent",
method=POST)
public org.springframework.http.ResponseEntity<RestResponse<Object>> updateConsentSettings(@RequestHeader(value="X-IDP-ENTITY-ID")
String idpEntityId,
@RequestBody
Consent consent)
throws IOException
IOException@PreAuthorize(value="hasAnyRole(\'DASHBOARD_ADMIN\',\'DASHBOARD_SUPER_USER\')")
@RequestMapping(value="/me/surfsecureid",
method=POST)
public org.springframework.http.ResponseEntity<RestResponse<Object>> updateSurfSecureId(@RequestHeader(value="X-IDP-ENTITY-ID")
String idpEntityId,
@RequestBody
LoaLevelChange loaLevelChange)
throws IOException
IOException@PreAuthorize(value="hasAnyRole(\'DASHBOARD_ADMIN\',\'DASHBOARD_VIEWER\',\'DASHBOARD_SUPER_USER\')")
@RequestMapping(value="/me/settings",
method=POST)
public org.springframework.http.ResponseEntity<RestResponse<Object>> updateSettings(@RequestHeader(value="X-IDP-ENTITY-ID")
String idpEntityId,
Locale locale,
@RequestBody
Settings settings)
throws IOException
IOExceptionprotected List<Change> getChanges(String idpId, Optional<Consent> previousConsentOptional, Consent consent) throws IOException
IOExceptionprotected List<Change> getChanges(String idpId, String previousMinimalLoaLevel, String newMinimalLoaLevel) throws IOException
IOExceptionprotected List<Change> getChanges(Locale locale, Settings settings, IdentityProvider idp) throws IOException
IOExceptionCopyright © 2012–2021 Pivotal Software, Inc.. All rights reserved.