]> source.dussan.org Git - sonarqube.git/commit
SONAR-14175 SONAR-14176 Detect usage of admin account with default credential
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 27 Nov 2020 08:16:06 +0000 (09:16 +0100)
committersonartech <sonartech@sonarsource.com>
Wed, 2 Dec 2020 20:06:57 +0000 (20:06 +0000)
commit2c21bdec38460b793305079d65247cb548dd440a
treebdb6fe8c854b8165fffbc52023d8fafa9cef6a03
parent89d9f0efa05022bb7577ff0d2014accc580da0a6
SONAR-14175 SONAR-14176 Detect usage of admin account with default credential

SONAR-14175 Add a startup task to detect admin default credential usage and set reset_password flag to true
SONAR-14176 Warn administrators when default admin credential is detected
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v00/PopulateInitialSchema.java
server/sonar-webserver-core/src/main/java/org/sonar/server/startup/DetectActiveAdminAccountWithDefaultCredential.java [new file with mode: 0644]
server/sonar-webserver-core/src/test/java/org/sonar/server/startup/DetectActiveAdminAccountWithDefaultCredentialTest.java [new file with mode: 0644]
server/sonar-webserver-webapi/src/test/java/org/sonar/server/user/ws/ChangePasswordActionTest.java
server/sonar-webserver/src/main/java/org/sonar/server/platform/platformlevel/PlatformLevelStartup.java