void function ( ) { ZonedDateTime loc0 = ZonedDateTime . loc0 ( ) ; List < User > loc1 = userRepository . findAllByActivatedIsFalseAndCreatedDateBefore ( loc0 . minusDays ( 3 ) ) ; for ( User loc2 : loc1 ) { log . debug ( "srini_string" , loc2 . getLogin ( ) ) ; userRepository . delete ( loc2 ) ; } }
not activated users should be automatically deleted after 3 days . this is scheduled to get fired everyday , at 01:00 am . concode_field_sep PasswordEncoder passwordEncoder concode_elem_sep AuthorityRepository authorityRepository concode_elem_sep UserRepository userRepository concode_elem_sep Logger log concode_elem_sep PersistentTokenRepository persistentTokenRepository concode_field_sep Optional<User> activateRegistration concode_elem_sep Optional<User> getUserWithAuthoritiesByLogin concode_elem_sep User getUserWithAuthorities concode_elem_sep User getUserWithAuthorities concode_elem_sep void deleteUser concode_elem_sep void updateUser concode_elem_sep void updateUser concode_elem_sep User createUser concode_elem_sep User createUser concode_elem_sep void removeOldPersistentTokens concode_elem_sep Optional<User> completePasswordReset concode_elem_sep Optional<User> requestPasswordReset concode_elem_sep void changePassword