]> source.dussan.org Git - sonarqube.git/commit
SONAR-7713 Fix JWT usage with authentication plugins
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 14 Jun 2016 12:49:55 +0000 (14:49 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 15 Jun 2016 09:08:36 +0000 (11:08 +0200)
commitbfdc9da3b6020cd4241dd80b325192292401c057
tree119db7bc685da6ecbbf84faded746bb0bda0dc8e
parenta27db900edf9672df8e692cfdf9a7db9b8badf8f
SONAR-7713 Fix JWT usage with authentication plugins

Init of UserSession is now done in User.authenticate and removal of cookies is now done in reset_session for authentication plugins to correctly work with JWT
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/sessions_controller.rb
server/sonar-web/src/main/webapp/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb
server/sonar-web/src/main/webapp/WEB-INF/lib/need_authentication.rb