From 9a063d84984c9a6762a3dcf3fc8498390694b073 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Mon, 25 Mar 2013 16:23:59 +0100 Subject: [PATCH] SONAR-4211 Allow Sonar Runner to work with secured server when sonar.forceAuthentication=true --- .../WEB-INF/app/controllers/batch_bootstrap_controller.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 def8dd61d5b..93d2b793287 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= def db project = load_project() @@ -51,7 +54,7 @@ class BatchBootstrapController < Api::ApiController render :json => JSON(json_properties) end - + # GET /batch_bootstrap/index def index redirect_to "/deploy/bootstrap/index.txt" -- 2.39.5