1d5992601787c395f23bc82d658fe15adbe9a146
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Merge Attribute | 1 | ||
| Merge Attribute [ssoAuthenticator : SsoAuthenticator, jwtHttpHandler : JwtHttpHandler, basicAuthenticator : BasicAuthenticator] to authenticators : Authenticators in class org.sonar.server.authentication.UserSessionInitializerTest | From | To | |
| Rename Method | 1 | ||
| Rename Method private setUserSession(request HttpServletRequest, response HttpServletResponse) : void renamed to private loadUserSession(request HttpServletRequest, response HttpServletResponse) : void in class org.sonar.server.authentication.UserSessionInitializer | From | To | |
| Move And Rename Method | 3 | ||
| Move And Rename Method public validate_session_from_token() : void from class org.sonar.server.authentication.UserSessionInitializerTest to public authenticate_from_basic_header() : void from class org.sonar.server.authentication.AuthenticatorsImplTest | From | To | |
| Move And Rename Method public validate_session_from_basic_authentication() : void from class org.sonar.server.authentication.UserSessionInitializerTest to public authenticate_from_basic_header() : void from class org.sonar.server.authentication.AuthenticatorsImplTest | From | To | |
| Move And Rename Method public validate_session_from_sso() : void from class org.sonar.server.authentication.UserSessionInitializerTest to public authenticate_from_sso() : void from class org.sonar.server.authentication.AuthenticatorsImplTest | From | To | |
| Move Method | 1 | ||
| Move Method private authenticate(request HttpServletRequest, response HttpServletResponse) : Optional<UserDto> from class org.sonar.server.authentication.UserSessionInitializer to public authenticate(request HttpServletRequest, response HttpServletResponse) : Optional<UserDto> from class org.sonar.server.authentication.AuthenticatorsImpl | From | To | |
| Move Attribute | 6 | ||
| Move Attribute private basicAuthenticator : BasicAuthenticator from class org.sonar.server.authentication.UserSessionInitializerTest to private basicAuthenticator : BasicAuthenticator from class org.sonar.server.authentication.AuthenticatorsImplTest | From | To | |
| Move Attribute private jwtHttpHandler : JwtHttpHandler from class org.sonar.server.authentication.UserSessionInitializer to private jwtHttpHandler : JwtHttpHandler from class org.sonar.server.authentication.AuthenticatorsImpl | From | To | |
| Move Attribute private ssoAuthenticator : SsoAuthenticator from class org.sonar.server.authentication.UserSessionInitializer to private ssoAuthenticator : SsoAuthenticator from class org.sonar.server.authentication.AuthenticatorsImpl | From | To | |
| Move Attribute private basicAuthenticator : BasicAuthenticator from class org.sonar.server.authentication.UserSessionInitializer to private basicAuthenticator : BasicAuthenticator from class org.sonar.server.authentication.AuthenticatorsImpl | From | To | |
| Move Attribute private jwtHttpHandler : JwtHttpHandler from class org.sonar.server.authentication.UserSessionInitializerTest to private jwtHttpHandler : JwtHttpHandler from class org.sonar.server.authentication.AuthenticatorsImplTest | From | To | |
| Move Attribute private ssoAuthenticator : SsoAuthenticator from class org.sonar.server.authentication.UserSessionInitializerTest to private ssoAuthenticator : SsoAuthenticator from class org.sonar.server.authentication.AuthenticatorsImplTest | From | To | |
| Extract Class | 2 | ||
| Extract Class org.sonar.server.authentication.AuthenticatorsImpl from class org.sonar.server.authentication.UserSessionInitializer | From | To | |
| Extract Class org.sonar.server.authentication.AuthenticatorsImplTest from class org.sonar.server.authentication.UserSessionInitializerTest | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute ssoAuthenticator : SsoAuthenticator to authenticators : Authenticators in class org.sonar.server.authentication.UserSessionInitializer | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type ssoAuthenticator : SsoAuthenticator to authenticators : Authenticators in class org.sonar.server.authentication.UserSessionInitializer | From | To | |
| Extract Method | 1 | ||
| Extract Method private failIfAuthenticationIsRequired() : void extracted from private setUserSession(request HttpServletRequest, response HttpServletResponse) : void in class org.sonar.server.authentication.UserSessionInitializer | From | To |