ResponseEntity < List < PersistentToken >> function ( ) { return userRepository . findOneByLogin ( SecurityUtils . getCurrentUserLogin ( ) ) . map ( user -> new ResponseEntity < > ( persistentTokenRepository . findByUser ( user ) , HttpStatus . OK ) ) . orElse ( new ResponseEntity < > ( HttpStatus . INTERNAL_SERVER_ERROR ) ) ; }
get / account/sessions : get the current open sessions . 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<?> 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<String> saveAccount concode_elem_sep void invalidateSession concode_elem_sep ResponseEntity<?> changePassword