diff options
author | Eric Hartmann <hartmann.eric@gmail.com> | 2018-04-13 18:26:16 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-04-17 20:20:48 +0200 |
commit | 7f88e7c22d4b61d36cbb4a62990f5fe144e80c2d (patch) | |
tree | 5b65b9b899b164fc95cfabbacb6fef3da66b0727 /server/sonar-db-migration/build.gradle | |
parent | f7adccdc63aa7b93ed20425a3224da0c5e6a5bba (diff) | |
download | sonarqube-7f88e7c22d4b61d36cbb4a62990f5fe144e80c2d.tar.gz sonarqube-7f88e7c22d4b61d36cbb4a62990f5fe144e80c2d.zip |
SONAR-6949 Implements bcrypt hash for password
Extract hash mechanism into a single class LocalAuthentication
Implements SHA1 (deprecated) and bcrypt hash
Set bcrypt as default
Update the hash of a user during authentication if hash method was SHA1
Diffstat (limited to 'server/sonar-db-migration/build.gradle')
-rw-r--r-- | server/sonar-db-migration/build.gradle | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-db-migration/build.gradle b/server/sonar-db-migration/build.gradle index 7360daec774..53e5be5a48c 100644 --- a/server/sonar-db-migration/build.gradle +++ b/server/sonar-db-migration/build.gradle @@ -18,6 +18,7 @@ dependencies { testCompile 'org.assertj:assertj-core' testCompile 'org.dbunit:dbunit' testCompile 'org.mockito:mockito-core' + testCompile 'org.mindrot:jbcrypt' testCompile project(':sonar-testing-harness') testCompile project(':server:sonar-db-core').sourceSets.test.output |