]> source.dussan.org Git - sonarqube.git/commitdiff
Authentication check should not be done by rails when using Java WS
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 22 Apr 2014 09:12:31 +0000 (11:12 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 22 Apr 2014 09:12:31 +0000 (11:12 +0200)
sonar-server/src/main/webapp/WEB-INF/app/controllers/api/java_ws_controller.rb

index 4c5928383901311afe9d83b93b67e2595ea17e99..cb6e1c5047d070a6010072a435d7c53bf55a22bb 100644 (file)
@@ -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()