diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2013-03-25 16:23:59 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2013-03-25 17:06:27 +0100 |
commit | e1532dbaac8e627e6f62cf7bc772b533e0faf265 (patch) | |
tree | 89ee1f79142699e3ded6d9ce7f11dc76a65879c0 | |
parent | bc2765b34587d9ead7df00eccedda46a59c14c8c (diff) | |
download | sonarqube-e1532dbaac8e627e6f62cf7bc772b533e0faf265.tar.gz sonarqube-e1532dbaac8e627e6f62cf7bc772b533e0faf265.zip |
SONAR-4211 Allow Sonar Runner to work with secured server
when sonar.forceAuthentication=true
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb index 52d1c8c134b..77b8012cc39 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb @@ -21,6 +21,9 @@ # Since 3.4 class BatchBootstrapController < Api::ApiController + # SONAR-4211 Access to index should not require authentication + skip_before_filter :check_authentication, :only => 'index' + # GET /batch_bootstrap/db?project=<key or id> def db require_parameters :project @@ -52,7 +55,7 @@ class BatchBootstrapController < Api::ApiController render :json => JSON(json_properties) end - + # GET /batch_bootstrap/index def index redirect_to "/deploy/bootstrap/index.txt" |