c60aaa751e57b380d8c489f7e91a63094da7f41b
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private isApigeeSSO2Enabled() : boolean renamed to private isExternalSSOProviderEnabled() : boolean in class org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl | From | To | |
Rename Method public validateAndReturnUserInfo(token String) : TokenInfo renamed to public validateAndReturnTokenInfo(token String, ttl long) : TokenInfo in class org.apache.usergrid.security.tokens.externalProviders.ApigeeSSO2Provider | From | To | |
Rename Method public validateAndReturnUserInfo(token String) : TokenInfo renamed to public validateAndReturnTokenInfo(token String, ttl long) : TokenInfo in class org.apache.usergrid.security.tokens.externalProviders.ExternalTokenProvider | From | To | |
Move Method | 2 | ||
Move Method private getMeFromUgCentral(extAccessToken String) : JsonNode from class org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl to private getMeFromUgCentral(extAccessToken String) : JsonNode from class org.apache.usergrid.security.tokens.externalProviders.UsergridCentral | From | To | |
Move Method private getJerseyClient() : Client from class org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl to private getJerseyClient() : Client from class org.apache.usergrid.security.tokens.externalProviders.UsergridCentral | From | To | |
Move Attribute | 1 | ||
Move Attribute public USERGRID_CENTRAL_URL : String from class org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl to public USERGRID_CENTRAL_URL : String from class org.apache.usergrid.security.tokens.externalProviders.UsergridCentral | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.usergrid.security.tokens.externalProviders.UsergridCentral from class org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute key : String to publicKey : String in method public validateAndReturnUserInfo(token String, ttl long) : UserInfo in class org.apache.usergrid.security.tokens.externalProviders.ApigeeSSO2Provider | From | To | |
Rename Attribute | 1 | ||
Rename Attribute USERGRID_CENTRAL_URL : String to USERGRID_EXTERNAL_PROVIDER_URL : String in class org.apache.usergrid.security.tokens.cassandra.TokenServiceImpl | From | To | |
Extract Method | 1 | ||
Extract Method public validateAndReturnUserInfo(token String, ttl long) : UserInfo extracted from public validateAndReturnUserInfo(token String) : TokenInfo in class org.apache.usergrid.security.tokens.externalProviders.ApigeeSSO2Provider | From | To |