e51b762e02211a5f414de1ee8009d442a0ed5227
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public create_key_from_rsa_string() : void renamed to public create_key_from_pem_string() : void in class org.cloudfoundry.identity.uaa.oauth.jwk.RsaJsonWebKeyTests | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public getPublicKey(key JsonWebKey) : PublicKey from class org.cloudfoundry.identity.uaa.oauth.jwk.JsonWebKeyHelper to public getRsaPublicKey(key JsonWebKey) : PublicKey from class org.cloudfoundry.identity.uaa.oauth.jwk.JsonWebKey | From | To | |
Move Method | 1 | ||
Move Method public deserialize(s String) : JsonWebKeySet<JsonWebKey> from class org.cloudfoundry.identity.uaa.oauth.jwk.JsonWebKeySet to public deserialize(s String) : JsonWebKeySet<JsonWebKey> from class org.cloudfoundry.identity.uaa.oauth.jwk.JsonWebKeyHelper | From | To | |
Change Return Type | 2 | ||
Change Return Type JsonWebKeyHelper to JsonWebKey in method public fromPEMPublicKey(key String) : JsonWebKey in class org.cloudfoundry.identity.uaa.oauth.jwk.JsonWebKeyHelper | From | To | |
Change Return Type String to JsonWebKeySet<JsonWebKey> in method private getTokenKeyFromOAuth(config AbstractXOAuthIdentityProviderDefinition) : JsonWebKeySet<JsonWebKey> in class org.cloudfoundry.identity.uaa.provider.oauth.XOAuthAuthenticationManager | From | To | |
Change Variable Type | 1 | ||
Change Variable Type responseEntity : ResponseEntity<Map<String,Object>> to responseEntity : ResponseEntity<String> in method private getTokenKeyFromOAuth(config AbstractXOAuthIdentityProviderDefinition) : JsonWebKeySet<JsonWebKey> in class org.cloudfoundry.identity.uaa.provider.oauth.XOAuthAuthenticationManager | From | To | |
Extract Method | 2 | ||
Extract Method public assertUserCreated(event NewUserAuthenticatedEvent) : void extracted from public idToken_In_Redirect_Should_Use_it() : void in class org.cloudfoundry.identity.uaa.provider.oauth.XOAuthAuthenticationManagerTest | From | To | |
Extract Method public assertUserCreated(event NewUserAuthenticatedEvent) : void extracted from public exchangeExternalCodeForIdToken_andCreateShadowUser() : void in class org.cloudfoundry.identity.uaa.provider.oauth.XOAuthAuthenticationManagerTest | From | To | |
Inline Variable | 1 | ||
Inline Variable map : Map<String,Object> in method public deserialize(p JsonParser, ctxt DeserializationContext) : JsonWebKey from class org.cloudfoundry.identity.uaa.oauth.jwk.JsonWebKeyDeserializer | From | To |