get / activate - > activate the registered user . concode_field_sep Logger log concode_elem_sep UserRepository userRepository concode_elem_sep PersistentTokenRepository persistentTokenRepository concode_elem_sep MailService mailService concode_elem_sep UserService userService concode_field_sep ResponseEntity<String> finishPasswordReset concode_elem_sep ResponseEntity<List<PersistentToken>> getCurrentSessions concode_elem_sep ResponseEntity<?> registerAccount concode_elem_sep boolean checkPasswordLength concode_elem_sep String isAuthenticated concode_elem_sep ResponseEntity<?> requestPasswordReset concode_elem_sep ResponseEntity<String> saveAccount concode_elem_sep void invalidateSession concode_elem_sep ResponseEntity<?> changePassword
ResponseEntity < String > function ( @ RequestParam ( value = "srini_string" ) String arg0 ) { return Optional . ofNullable ( userService . activateRegistration ( arg0 ) ) . map ( user -> new ResponseEntity < String > ( HttpStatus . OK ) ) . orElse ( new ResponseEntity < > ( HttpStatus . INTERNAL_SERVER_ERROR ) ) ; }