adbf2b22ad4636a0e85f51a32559e4b51757ec31
Files Diff
- Added: 25
- Removed: 0
- Renamed: 0
- Modified: 60
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public isEqualOrNull(str1 Object, str2 Object) : boolean renamed to public isEqualOrBothNull(str1 Object, str2 Object) : boolean in class org.keycloak.common.util.ObjectUtil | From | To | |
Change Parameter Type | 3 | ||
Change Parameter Type realm : RealmModel to editUsernameAllowed : boolean in method public validateUpdateProfileForm(editUsernameAllowed boolean, formData MultivaluedMap<String,String>) : List<FormMessage> in class org.keycloak.services.validation.Validation | From | To | |
Change Parameter Type user : UserModel to user : UpdateProfileContext in method public validateUserMandatoryFields(realm RealmModel, user UpdateProfileContext) : boolean in class org.keycloak.services.validation.Validation | From | To | |
Change Parameter Type user : UserModel to user : UpdateProfileContext in method public ProfileBean(user UpdateProfileContext, formData MultivaluedMap<String,String>) in class org.keycloak.login.freemarker.model.ProfileBean | From | To | |
Move Attribute | 1 | ||
Move Attribute public KEY : String from class org.keycloak.authentication.authenticators.resetcred.ResetCredentialEmail to public KEY : String from class org.keycloak.models.Constants | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type user : UserModel to user : UpdateProfileContext in class org.keycloak.login.freemarker.model.ProfileBean | From | To | |
Extract Method | 5 | ||
Extract Method private send(subjectKey String, subjectAttributes List<Object>, template String, attributes Map<String,Object>) : void extracted from private send(subjectKey String, template String, attributes Map<String,Object>) : void in class org.keycloak.email.freemarker.FreeMarkerEmailProvider | From | To | |
Extract Method private finishBrokerAuthentication(context BrokeredIdentityContext, federatedUser UserModel, clientSession ClientSessionModel, providerId String) : Response extracted from public authenticated(context BrokeredIdentityContext) : Response in class org.keycloak.services.resources.IdentityBrokerService | From | To | |
Extract Method public getActionCookie(headers HttpHeaders, realm RealmModel, uriInfo UriInfo, clientConnection ClientConnection) : String extracted from private getActionCookie() : String in class org.keycloak.services.resources.LoginActionsService | From | To | |
Extract Method public process(formData MultivaluedMap<String,String>, realm RealmModel, user UpdateProfileContext) : void extracted from public process(formData MultivaluedMap<String,String>, realm RealmModel, user UserModel) : void in class org.keycloak.services.resources.AttributeFormDataProcessor | From | To | |
Extract Method public createEventReader(configStream InputStream) : XMLEventReader extracted from public parse(configStream InputStream) : Object in class org.keycloak.saml.common.parsers.AbstractParser | From | To | |
Rename Parameter | 1 | ||
Rename Parameter realm : RealmModel to editUsernameAllowed : boolean in method public validateUpdateProfileForm(editUsernameAllowed boolean, formData MultivaluedMap<String,String>) : List<FormMessage> in class org.keycloak.services.validation.Validation | From | To |