3e1dff8f4b71077e37de33c471e4052d7ae5115d
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getCredentials(authorizationHeader String) : String[] renamed to private extractCredentials(authorizationHeader String) : Credentials in class org.sonar.server.authentication.BasicAuthenticator | From | To | |
Change Return Type | 1 | ||
Change Return Type String[] to Credentials in method private extractCredentials(authorizationHeader String) : Credentials in class org.sonar.server.authentication.BasicAuthenticator | From | To | |
Merge Variable | 1 | ||
Merge Variable [login : String, password : String] to credentials : Credentials in method public authenticate(request HttpServletRequest) : Optional<UserDto> in class org.sonar.server.authentication.BasicAuthenticator | From | To | |
Merge Parameter | 4 | ||
Merge Parameter [login : String, password : String] to request : HttpServletRequest in method private authenticate(request HttpServletRequest) : UserDto in class org.sonar.server.authentication.ws.LoginAction | From | To | |
Merge Parameter [userLogin : String, userPassword : String] to credentials : Credentials in method private doAuthenticate(credentials Credentials, request HttpServletRequest, method AuthenticationEvent.Method) : UserDto in class org.sonar.server.authentication.RealmAuthenticator | From | To | |
Merge Parameter [userLogin : String, userPassword : String] to credentials : Credentials in method public authenticate(credentials Credentials, request HttpServletRequest, method Method) : UserDto in class org.sonar.server.authentication.CredentialsAuthenticator | From | To | |
Merge Parameter [userLogin : String, userPassword : String] to credentials : Credentials in method private authenticate(dbSession DbSession, credentials Credentials, request HttpServletRequest, method Method) : UserDto in class org.sonar.server.authentication.CredentialsAuthenticator | From | To | |
Rename Attribute | 2 | ||
Rename Attribute PASSWORD : String to A_PASSWORD : String in class org.sonar.server.authentication.BasicAuthenticatorTest | From | To | |
Rename Attribute LOGIN : String to A_LOGIN : String in class org.sonar.server.authentication.BasicAuthenticatorTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type credentials : String[] to credentials : Credentials in method public authenticate(request HttpServletRequest) : Optional<UserDto> in class org.sonar.server.authentication.BasicAuthenticator | From | To |