e3191448d67079fe2ada0802b37b381b9cbbe98b
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 21
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 2 | ||
Extract Variable zone : IdentityZone in method public testCreateIdentityProvidersWithSameOriginKeyInBothZones() : void from class org.cloudfoundry.identity.uaa.zone.JdbcIdentityProviderProvisioningTests | From | To | |
Extract Variable builder : MockHttpServletRequestBuilder in method public getGroup(mockMvc MockMvc, accessToken String, displayName String, subdomain String) : ScimGroup from class org.cloudfoundry.identity.uaa.mock.util.MockMvcUtils | From | To | |
Extract Method | 4 | ||
Extract Method public getClientDetailsModification(id String, secret String, resourceIds Collection<String>, scopes Collection<String>, grantTypes Collection<String>, authorities String, redirectUris Set<String>) : ClientDetailsModification extracted from public createClient(mockMvc MockMvc, adminAccessToken String, id String, secret String, resourceIds Collection<String>, scopes Collection<String>, grantTypes Collection<String>, authorities String, redirectUris Set<String>, zone IdentityZone) : ClientDetails in class org.cloudfoundry.identity.uaa.mock.util.MockMvcUtils | From | To | |
Extract Method public getUserOAuthAccessToken(mockMvc MockMvc, clientId String, clientSecret String, username String, password String, scope String, zone IdentityZone) : String extracted from public getUserOAuthAccessToken(mockMvc MockMvc, clientId String, clientSecret String, username String, password String, scope String) : String in class org.cloudfoundry.identity.uaa.mock.util.MockMvcUtils | From | To | |
Extract Method public getGroup(mockMvc MockMvc, accessToken String, displayName String, subdomain String) : ScimGroup extracted from public getGroup(mockMvc MockMvc, accessToken String, displayName String) : ScimGroup in class org.cloudfoundry.identity.uaa.mock.util.MockMvcUtils | From | To | |
Extract Method private setUpScimUser(zone IdentityZone) : ScimUser extracted from private setUpScimUser() : ScimUser in class org.cloudfoundry.identity.uaa.scim.endpoints.ScimUserEndpointsMockMvcTests | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public setClientDetailsService(clientDetailsService ClientDetailsService) : void extracted from public setUp() : void in class org.cloudfoundry.identity.uaa.login.AutologinAuthenticationManagerTest & moved to class org.cloudfoundry.identity.uaa.authentication.manager.AutologinAuthenticationManager | From | To | |
Extract And Move Method public setUserDatabase(userDatabase UaaUserDatabase) : void extracted from public setUp() : void in class org.cloudfoundry.identity.uaa.login.AutologinAuthenticationManagerTest & moved to class org.cloudfoundry.identity.uaa.authentication.manager.AutologinAuthenticationManager | From | To | |
Rename Parameter | 1 | ||
Rename Parameter username : String to clientId : String in method public getClientCredentialsOAuthAccessToken(mockMvc MockMvc, clientId String, clientSecret String, scope String, subdomain String) : String in class org.cloudfoundry.identity.uaa.mock.util.MockMvcUtils | From | To |