From 5d9a32d1d223f5ee1b21d85b6e5cdb8360dc456f Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Mon, 27 Jun 2016 14:39:22 +0200 Subject: SONAR-7781 Password of external providers should not be stored in database --- .../1258_remove_users_password_when_not_local.rb | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 server/sonar-web/src/main/webapp/WEB-INF/db/migrate/1258_remove_users_password_when_not_local.rb (limited to 'server') 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 -- cgit v1.2.3