aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-06-27 14:39:22 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-06-29 08:44:00 +0200
commit5d9a32d1d223f5ee1b21d85b6e5cdb8360dc456f (patch)
tree702aa46fc9950d2f3ce562303fb94af5d27d260d /server/sonar-web
parent22b483458fdd132efe8a717624ea4b47ad37bba6 (diff)
downloadsonarqube-5d9a32d1d223f5ee1b21d85b6e5cdb8360dc456f.tar.gz
sonarqube-5d9a32d1d223f5ee1b21d85b6e5cdb8360dc456f.zip
SONAR-7781 Password of external providers should not be stored in database
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb
new file mode 100644
index 00000000000..1d8f48a4d4a
--- /dev/null
+++ b/server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb
@@ -0,0 +1,28 @@
+#
+# SonarQube, open source software quality management tool.
+# Copyright (C) 2008-2014 SonarSource
+# mailto:contact AT sonarsource DOT com
+#
+# SonarQube is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 3 of the License, or (at your option) any later version.
+#
+# SonarQube is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+#
+# SonarQube 6.0
+# SONAR-7781
+#
+class RemoveUsersPasswordWhenNotLocal < ActiveRecord::Migration
+ def self.up
+ execute_java_migration('org.sonar.db.version.v60.RemoveUsersPasswordWhenNotLocal')
+ end
+end