]> source.dussan.org Git - sonarqube.git/commit
SONAR-13327 Fix SSF-107
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 15 Jun 2020 16:19:02 +0000 (18:19 +0200)
committersonartech <sonartech@sonarsource.com>
Mon, 15 Jun 2020 20:05:16 +0000 (20:05 +0000)
commit8c7e9ded9ad3f8f9aca79558320f319d229c547c
tree048e0b153ed4f1897c586b30bc8dbf44e92e5ed2
parent41f7eb48fac1b3199f5a75fe504ef309b441d34a
SONAR-13327 Fix SSF-107

* SONAR-13327 Create 'SAML_MESSAGE_IDS' table and DAO
* SONAR-13327 Check SAML Message id not already exist during auth
* SONAR-13327 Clean expired SAML Message ids daily
29 files changed:
server/sonar-auth-saml/build.gradle
server/sonar-auth-saml/src/main/java/org/sonar/auth/saml/SamlIdentityProvider.java
server/sonar-auth-saml/src/main/java/org/sonar/auth/saml/SamlMessageIdChecker.java [new file with mode: 0644]
server/sonar-auth-saml/src/main/java/org/sonar/auth/saml/SamlModule.java
server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlIdentityProviderTest.java
server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlMessageIdCheckerTest.java [new file with mode: 0644]
server/sonar-auth-saml/src/test/java/org/sonar/auth/saml/SamlModuleTest.java
server/sonar-db-core/src/main/java/org/sonar/db/version/SqTables.java
server/sonar-db-dao/src/main/java/org/sonar/db/DaoModule.java
server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java
server/sonar-db-dao/src/main/java/org/sonar/db/user/SamlMessageIdDao.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/user/SamlMessageIdDto.java [new file with mode: 0644]
server/sonar-db-dao/src/main/java/org/sonar/db/user/SamlMessageIdMapper.java [new file with mode: 0644]
server/sonar-db-dao/src/main/resources/org/sonar/db/user/SamlMessageIdMapper.xml [new file with mode: 0644]
server/sonar-db-dao/src/schema/schema-sq.ddl
server/sonar-db-dao/src/test/java/org/sonar/db/user/SamlMessageIdDaoTest.java [new file with mode: 0644]
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v84/CreateSamlMessageIdsTable.java [new file with mode: 0644]
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v84/DbVersion84.java
server/sonar-db-migration/src/test/java/org/sonar/server/platform/db/migration/version/v84/CreateSamlMessageIdsTableTest.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/AuthenticationModule.java
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/purge/ExpiredSessionsCleaner.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/purge/ExpiredSessionsCleanerExecutorService.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/purge/ExpiredSessionsCleanerExecutorServiceImpl.java [new file with mode: 0644]
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/purge/SessionTokensCleaner.java [deleted file]
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/purge/SessionTokensCleanerExecutorService.java [deleted file]
server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/purge/SessionTokensCleanerExecutorServiceImpl.java [deleted file]
server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/purge/ExpiredSessionsCleanerTest.java [new file with mode: 0644]
server/sonar-webserver-auth/src/test/java/org/sonar/server/authentication/purge/SessionTokensCleanerTest.java [deleted file]