]> source.dussan.org Git - sonarqube.git/commit
SONAR-16567 Notify the token creator about expiring tokens via email
authorZipeng WU <zipeng.wu@sonarsource.com>
Tue, 5 Jul 2022 08:00:38 +0000 (10:00 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 6 Jul 2022 20:03:56 +0000 (20:03 +0000)
commit6a401f73236a70f702b64646d8bdec7c5a90e15d
tree23fc39668ac04e0942d704fa8397e28193d55569
parentb31d435c35d2e104b225a6f722e459616b0cb8af
SONAR-16567 Notify the token creator about expiring tokens via email
27 files changed:
server/sonar-db-dao/src/main/java/org/sonar/db/user/UserTokenDao.java
server/sonar-db-dao/src/main/java/org/sonar/db/user/UserTokenMapper.java
server/sonar-db-dao/src/main/resources/org/sonar/db/user/UserTokenMapper.xml
server/sonar-db-dao/src/test/java/org/sonar/db/user/UserTokenDaoTest.java
server/sonar-server-common/src/main/java/org/sonar/server/email/BasicEmail.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/email/EmailSender.java [new file with mode: 0644]
server/sonar-server-common/src/main/java/org/sonar/server/email/package-info.java [new file with mode: 0644]
server/sonar-server-common/src/test/java/org/sonar/server/email/EmailSenderTest.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/UserTokenModule.java
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationEmail.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationEmailComposer.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationExecutorService.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationExecutorServiceImpl.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationInitializer.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationScheduler.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSchedulerImpl.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSender.java [new file with mode: 0644]
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/UserTokenAuthenticationTest.java
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/UserTokenModuleTest.java
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationEmailComposerTest.java [new file with mode: 0644]
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationExecutorServiceImplTest.java [new file with mode: 0644]
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationInitializerTest.java [new file with mode: 0644]
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSchedulerImplTest.java [new file with mode: 0644]
server/sonar-webserver-auth/src/test/java/org/sonar/server/usertoken/notification/TokenExpirationNotificationSenderTest.java [new file with mode: 0644]
server/sonar-webserver-webapi/src/main/java/org/sonar/server/usertoken/ws/GenerateAction.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/GenerateActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/usertoken/ws/UserTokenWsModuleTest.java