ResponseEntity function ( @ RequestBody String arg0 ) { if ( ! checkPasswordLength ( arg0 ) ) { return new ResponseEntity < > ( "srini_string" , HttpStatus . BAD_REQUEST ) ; } userService . changePassword ( arg0 ) ; return new ResponseEntity < > ( HttpStatus . OK ) ; }
post / account/change _ password : changes the current user 's password concode_field_sep Logger log concode_elem_sep UserRepository userRepository concode_elem_sep MailService mailService concode_elem_sep UserService userService concode_field_sep ResponseEntity<String> finishPasswordReset concode_elem_sep ResponseEntity registerAccount concode_elem_sep ResponseEntity<UserDTO> getAccount concode_elem_sep boolean checkPasswordLength concode_elem_sep String isAuthenticated concode_elem_sep ResponseEntity requestPasswordReset concode_elem_sep ResponseEntity<String> activateAccount concode_elem_sep ResponseEntity saveAccount