b55b08935542ded3388cb7fb20982027e86b04db
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public checkOnly(checks Predicate<? super T>...) : TokenVerifier<T> renamed to public withChecks(checks Predicate<? super T>...) : TokenVerifier<T> in class org.keycloak.TokenVerifier | From | To | |
Rename Method protected resetCredentials(token ResetCredentialsActionToken, execution String) : Response renamed to protected resetCredentialsByToken(tokenString String, execution String) : Response in class org.keycloak.services.resources.LoginActionsService | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method private canResolveClient(t ResetCredentialsActionToken) : boolean from class org.keycloak.services.resources.LoginActionsService to public test(t T) : boolean from class org.keycloak.services.resources.LoginActionsService.IsClientValid | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type token : ResetCredentialsActionToken to tokenString : String in method protected resetCredentialsByToken(tokenString String, execution String) : Response in class org.keycloak.services.resources.LoginActionsService | From | To | |
Change Parameter Type t : ResetCredentialsActionToken to t : T in method public test(t T) : boolean in class org.keycloak.services.resources.LoginActionsService.IsClientValid | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.keycloak.exceptions.TokenVerificationException from classes [org.keycloak.exceptions.TokenNotActiveException, org.keycloak.exceptions.TokenSignatureInvalidException] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute RESET_CREDENTIALS_ACTION : String to RESET_CREDENTIALS_TYPE : String in class org.keycloak.authentication.ResetCredentialsActionToken | From | To | |
Extract Method | 4 | ||
Extract Method public getLastChangedTimestamp(session KeycloakSession, realm RealmModel, user UserModel) : Long extracted from public action(context AuthenticationFlowContext) : void in class org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail | From | To | |
Extract Method public getLastChangedTimestamp(session KeycloakSession, realm RealmModel, user UserModel) : Long extracted from public authenticate(context AuthenticationFlowContext) : void in class org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail | From | To | |
Extract Method public assertSecondPasswordResetFails(changePasswordUrl String, clientId String) : void extracted from public resetPasswordTwice() : void in class org.keycloak.testsuite.forms.ResetPasswordTest | From | To | |
Extract Method private createAuthenticationSessionForClient(clientId String) : AuthenticationSessionModel extracted from public resetCredentialsGET(code String, execution String, key String) : Response in class org.keycloak.services.resources.LoginActionsService | From | To | |
Rename Parameter | 1 | ||
Rename Parameter token : ResetCredentialsActionToken to tokenString : String in method protected resetCredentialsByToken(tokenString String, execution String) : Response in class org.keycloak.services.resources.LoginActionsService | From | To |