a1febf3b3edf0a556c3b2264402a3fd7b9e7dca6
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method public refreshToken_includesAuthTime() : void renamed to public refreshToken_includesClaimsNeededToBuildIdTokens() : void in class org.cloudfoundry.identity.uaa.oauth.refresh.RefreshTokenCreatorTest | From | To | |
Rename Method public refreshToken_ifAuthTimeIsUnknown_omitsTheAuthTimeClaim() : void renamed to public refreshToken_ifIdTokenClaimsAreUnknown_omitsThem() : void in class org.cloudfoundry.identity.uaa.oauth.refresh.RefreshTokenCreatorTest | From | To | |
Rename Method public createClientAndUser() : void renamed to private createClientAndUserInRandomZone() : void in class org.cloudfoundry.identity.uaa.mock.token.RefreshTokenMockMvcTests | From | To | |
Rename Variable | 1 | ||
Rename Variable claims : Map<String,Object> to refreshTokenClaims : Map<String,Object> in method public refreshAccessToken(refreshTokenValue String, request TokenRequest) : OAuth2AccessToken in class org.cloudfoundry.identity.uaa.oauth.UaaTokenServices | From | To | |
Rename Attribute | 2 | ||
Rename Attribute methods : Set<String> to authenticationMethods : Set<String> in class org.cloudfoundry.identity.uaa.oauth.openid.UserAuthenticationData | From | To | |
Rename Attribute time : Date to authTime : Date in class org.cloudfoundry.identity.uaa.oauth.openid.UserAuthenticationData | From | To | |
Extract Method | 2 | ||
Extract Method private getClientPermissions(client ClientDetails) : Collection<GrantedAuthority> extracted from public createAccessToken(authentication OAuth2Authentication) : OAuth2AccessToken in class org.cloudfoundry.identity.uaa.oauth.UaaTokenServices | From | To | |
Extract Method private getTokens(clientId String, clientSecret String, userName String, password String, host String) : Map<String,Object> extracted from protected getRefreshToken() : String in class org.cloudfoundry.identity.uaa.mock.token.RefreshTokenMockMvcTests | From | To | |
Rename Parameter | 2 | ||
Rename Parameter time : Date to authTime : Date in method public UserAuthenticationData(authTime Date, authenticationMethods Set<String>, contextClassRef Set<String>, scopes Set<String>, roles Set<String>, userAttributes Map<String,List<String>>, nonce String, grantType String, jti String) in class org.cloudfoundry.identity.uaa.oauth.openid.UserAuthenticationData | From | To | |
Rename Parameter methods : Set<String> to authenticationMethods : Set<String> in method public UserAuthenticationData(authTime Date, authenticationMethods Set<String>, contextClassRef Set<String>, scopes Set<String>, roles Set<String>, userAttributes Map<String,List<String>>, nonce String, grantType String, jti String) in class org.cloudfoundry.identity.uaa.oauth.openid.UserAuthenticationData | From | To |