]> source.dussan.org Git - sonarqube.git/commit
SONAR-7733 Add CSRF protection with JWT
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 13 Jun 2016 12:40:10 +0000 (14:40 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 15 Jun 2016 09:08:36 +0000 (11:08 +0200)
commit646dc7e336124912d663c43fb0e5410bb502f884
tree42db561bf31043c85444a02cb5f9741fb98b16f9
parent88fe167730465a1da68fafb9fbead88fb7641fb5
SONAR-7733 Add CSRF protection with JWT
12 files changed:
server/sonar-server/src/main/java/org/sonar/server/authentication/AuthenticationModule.java
server/sonar-server/src/main/java/org/sonar/server/authentication/CsrfVerifier.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/authentication/JwtCsrfVerifier.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/authentication/JwtHttpHandler.java
server/sonar-server/src/main/java/org/sonar/server/authentication/OAuth2ContextFactory.java
server/sonar-server/src/main/java/org/sonar/server/authentication/OAuthCsrfVerifier.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/authentication/CsrfVerifierTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/authentication/JwtCsrfVerifierTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/authentication/JwtHttpHandlerTest.java
server/sonar-server/src/test/java/org/sonar/server/authentication/OAuth2ContextFactoryTest.java
server/sonar-server/src/test/java/org/sonar/server/authentication/OAuthCsrfVerifierTest.java [new file with mode: 0644]
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/sessions_controller.rb