4361ce1d421c1f6733e64fce76e344369c0aa3a6
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 11
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method protected addMappers(realm RealmModel) : void renamed to protected addDefaults(realm RealmModel) : void in class org.keycloak.protocol.oidc.OIDCLoginProtocolFactory | From | To | |
| Pull Up Method | 5 | ||
| Pull Up Method public init(config Config.Scope) : void from class org.keycloak.protocol.oidc.OIDCLoginProtocolFactory to public init(config Config.Scope) : void from class org.keycloak.protocol.AbstractLoginProtocolFactory | From | To | |
| Pull Up Method public postInit(factory KeycloakSessionFactory) : void from class org.keycloak.protocol.saml.SamlProtocolFactory to public postInit(factory KeycloakSessionFactory) : void from class org.keycloak.protocol.AbstractLoginProtocolFactory | From | To | |
| Pull Up Method public postInit(factory KeycloakSessionFactory) : void from class org.keycloak.protocol.oidc.OIDCLoginProtocolFactory to public postInit(factory KeycloakSessionFactory) : void from class org.keycloak.protocol.AbstractLoginProtocolFactory | From | To | |
| Pull Up Method public close() : void from class org.keycloak.protocol.saml.SamlProtocolFactory to public close() : void from class org.keycloak.protocol.AbstractLoginProtocolFactory | From | To | |
| Pull Up Method public close() : void from class org.keycloak.protocol.oidc.OIDCLoginProtocolFactory to public close() : void from class org.keycloak.protocol.AbstractLoginProtocolFactory | From | To | |
| Move Method | 1 | ||
| Move Method protected addClaimMapper(realm RealmModel, name String, mapperRef String, propertyName String, propertyNameValue String, tokenClaimName String, claimType String, consentRequired boolean, consentText String, appliedByDefault boolean) : void from class org.keycloak.protocol.oidc.OIDCLoginProtocolFactory to public addClaimMapper(realm RealmModel, name String, userAttribute String, tokenClaimName String, claimType String, consentRequired boolean, consentText String, appliedByDefault boolean, mapperId String) : void from class org.keycloak.protocol.oidc.mappers.OIDCAttributeMapperHelper | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.keycloak.protocol.AbstractLoginProtocolFactory from classes [org.keycloak.protocol.saml.SamlProtocolFactory, org.keycloak.protocol.oidc.OIDCLoginProtocolFactory] | From | To | |
| Rename Attribute | 4 | ||
| Rename Attribute USER_MODEL_ATTRIBUTE_NAME : String to USER_MODEL_ATTRIBUTE_LABEL : String in class org.keycloak.protocol.ProtocolMapperUtils | From | To | |
| Rename Attribute USER_MODEL_ATTRIBUTE_NAME : String to USER_ATTRIBUTE : String in class org.keycloak.protocol.ProtocolMapperUtils | From | To | |
| Rename Attribute USER_MODEL_PROPERTY : String to USER_MODEL_PROPERTY_LABEL : String in class org.keycloak.protocol.ProtocolMapperUtils | From | To | |
| Rename Attribute USER_MODEL_PROPERTY : String to USER_ATTRIBUTE : String in class org.keycloak.protocol.ProtocolMapperUtils | From | To | |
| Extract Method | 2 | ||
| Extract Method public addAttribute(attributeStatement AttributeStatementType, mappingModel ProtocolMapperModel, attributeNameFormat String, attributeValue String) : void extracted from public addBasicAttribute(attributeStatement AttributeStatementType, mappingModel ProtocolMapperModel, attributeValue String) : void in class org.keycloak.protocol.saml.mappers.AttributeStatementHelper | From | To | |
| Extract Method public addAttribute(attributeStatement AttributeStatementType, mappingModel ProtocolMapperModel, attributeNameFormat String, attributeValue String) : void extracted from public addUriReferenceAttribute(attributeStatement AttributeStatementType, mappingModel ProtocolMapperModel, attributeValue String) : void in class org.keycloak.protocol.saml.mappers.AttributeStatementHelper | From | To |