@RestController @RequestMapping(value="/users") @MiddlewareUserResource public class UserMgmtResource extends Object implements UserMgmtRestAPI
BASE_PATH| Constructor and Description |
|---|
UserMgmtResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<AuthConfirmationTO> |
completeAuthConfirmation(String authorisationId,
boolean authCodeConfirmed) |
org.springframework.http.ResponseEntity<Void> |
editSelf(UserTO user) |
org.springframework.http.ResponseEntity<List<UserTO>> |
getAllUsers() |
org.springframework.http.ResponseEntity<UserTO> |
getUser() |
org.springframework.http.ResponseEntity<UserTO> |
getUserById(String userId) |
org.springframework.http.ResponseEntity<Boolean> |
multilevel(String login,
String iban) |
org.springframework.http.ResponseEntity<Boolean> |
multilevelAccounts(String login,
List<AccountReferenceTO> references) |
org.springframework.http.ResponseEntity<UserTO> |
register(String login,
String email,
String pin,
UserRoleTO role) |
org.springframework.http.ResponseEntity<Void> |
resetPasswordViaEmail(String login) |
org.springframework.http.ResponseEntity<Void> |
updateScaDataByUserId(String userId,
List<ScaUserDataTO> data) |
org.springframework.http.ResponseEntity<Void> |
updateUserScaData(List<ScaUserDataTO> data) |
org.springframework.http.ResponseEntity<AuthConfirmationTO> |
verifyAuthConfirmationCode(String authorisationId,
String authConfirmCode) |
@PreAuthorize(value="hasAccessToAccountByLogin(#login, #iban)") public org.springframework.http.ResponseEntity<Boolean> multilevel(String login, String iban)
multilevel in interface UserMgmtRestAPI@PreAuthorize(value="hasAccessToAccountsByLogin(#login, #references)") public org.springframework.http.ResponseEntity<Boolean> multilevelAccounts(String login, List<AccountReferenceTO> references)
multilevelAccounts in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<UserTO> register(String login, String email, String pin, UserRoleTO role)
register in interface UserMgmtRestAPI@PreAuthorize(value="hasManagerAccessToUser(#userId)") public org.springframework.http.ResponseEntity<UserTO> getUserById(String userId)
getUserById in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<UserTO> getUser()
getUser in interface UserMgmtRestAPI@PreAuthorize(value="isSameUser(#user.id)") public org.springframework.http.ResponseEntity<Void> editSelf(UserTO user)
editSelf in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<Void> updateUserScaData(List<ScaUserDataTO> data)
updateUserScaData in interface UserMgmtRestAPI@PreAuthorize(value="hasManagerAccessToUser(#userId)") public org.springframework.http.ResponseEntity<Void> updateScaDataByUserId(String userId, List<ScaUserDataTO> data)
updateScaDataByUserId in interface UserMgmtRestAPI@PreAuthorize(value="hasAnyRole(\'SYSTEM\')") public org.springframework.http.ResponseEntity<List<UserTO>> getAllUsers()
getAllUsers in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<AuthConfirmationTO> verifyAuthConfirmationCode(String authorisationId, String authConfirmCode)
verifyAuthConfirmationCode in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<AuthConfirmationTO> completeAuthConfirmation(String authorisationId, boolean authCodeConfirmed)
completeAuthConfirmation in interface UserMgmtRestAPIpublic org.springframework.http.ResponseEntity<Void> resetPasswordViaEmail(String login)
resetPasswordViaEmail in interface UserMgmtRestAPICopyright © 2020. All rights reserved.