Class UserProfileController
java.lang.Object
tech.corefinance.userprofile.common.controller.UserProfileController
- All Implemented Interfaces:
tech.corefinance.common.controller.CrudController<String,CommonUserProfile<?>, UserProfileCreatorDto>
@RestController
@RequestMapping("/userprofiles")
@ControllerManagedResource("userprofile")
@ConditionalOnProperty(prefix="tech.corefinance.security",
name="authorize-check",
havingValue="true",
matchIfMissing=true)
public class UserProfileController
extends Object
implements tech.corefinance.common.controller.CrudController<String,CommonUserProfile<?>,UserProfileCreatorDto>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tech.corefinance.common.controller.CrudController
createEntity, createOrUpdate, delete, getEntityConverter, search, updateEntity, viewDetails
-
Constructor Details
-
UserProfileController
public UserProfileController()
-
-
Method Details
-
getHandlingService
- Specified by:
getHandlingServicein interfacetech.corefinance.common.controller.CrudController<String,CommonUserProfile<?>, UserProfileCreatorDto>
-
changePassword
@PostMapping("/change-password") @PermissionAction(action="change-password") public tech.corefinance.common.dto.GeneralApiResponse<Byte> changePassword(@RequestParam("userId") String userId, @RequestParam("currentPassword") String currentPassword, @RequestParam("newPassword") String newPassword, @RequestParam("confirmPassword") String confirmPassword)
-