From: Julien Lancelot Date: Tue, 22 Apr 2014 09:12:31 +0000 (+0200) Subject: Authentication check should not be done by rails when using Java WS X-Git-Tag: 4.4-RC1~1428 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc5bd59de2151261944161f5324e0adc329a8cd2;p=sonarqube.git Authentication check should not be done by rails when using Java WS --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb index 4c592838390..cb6e1c5047d 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb @@ -20,6 +20,9 @@ # since 4.2 class Api::JavaWsController < Api::ApiController + + skip_before_filter :check_authentication + def index ws_request = Java::OrgSonarServerWs::ServletRequest.new(servlet_request, params.to_java) ws_response = Java::OrgSonarServerWs::ServletResponse.new()