question: @ RequestMapping ( value = "/account/change_password" , method = RequestMethod . POST , produces = MediaType . TEXT_PLAIN_VALUE ) @ Timed public ResponseEntity < ? > changePassword ( @ RequestBody String password ) { if ( ! checkPasswordLength ( password ) ) { return new ResponseEntity < > ( "Incorrect password" , HttpStatus . BAD_REQUEST ) ; } userService . changePassword ( password ) ; return new ResponseEntity < > ( HttpStatus . OK ) ; }
target:  POST  /account/change_password : changes the current user's password