]> source.dussan.org Git - sonarqube.git/commit
SONARCLOUD-213 refactor Authenticators to return UserSession
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 30 Nov 2018 12:02:39 +0000 (13:02 +0100)
committerSonarTech <sonartech@sonarsource.com>
Wed, 12 Dec 2018 19:21:02 +0000 (20:21 +0100)
commitebfad7894a43bc485b53caaec66b0cb8a0971b72
tree89821713229bf1a80ab02f9287a52a80dff1ca7e
parentcf489b9db95939a21c84f3eb133b57ac52acfce7
SONARCLOUD-213 refactor Authenticators to return UserSession

- Authenticators renamed RequestAuthenticator

- the logic between UserDto and UserSession is moved outside
  UserSessionInitializer
server/sonar-server/src/main/java/org/sonar/server/authentication/AuthenticationModule.java
server/sonar-server/src/main/java/org/sonar/server/authentication/Authenticators.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/authentication/AuthenticatorsImpl.java [deleted file]
server/sonar-server/src/main/java/org/sonar/server/authentication/HttpHeadersAuthenticator.java
server/sonar-server/src/main/java/org/sonar/server/authentication/RequestAuthenticator.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/authentication/RequestAuthenticatorImpl.java [new file with mode: 0644]
server/sonar-server/src/main/java/org/sonar/server/authentication/UserSessionInitializer.java
server/sonar-server/src/test/java/org/sonar/server/authentication/AuthenticatorsImplTest.java [deleted file]
server/sonar-server/src/test/java/org/sonar/server/authentication/RequestAuthenticatorImplTest.java [new file with mode: 0644]
server/sonar-server/src/test/java/org/sonar/server/authentication/UserSessionInitializerTest.java