6d4b69a49f22541d7d965eceb5ff011d76629701
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 23
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public shouldAuthenticateWithTestCachingAuthenticationPlugin() : void renamed to public shouldAuthenticateWithTestCacheableAuthenticationPlugin() : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.PluginAuthenticationIT | From | To | |
| Pull Up Method | 8 | ||
| Pull Up Method public start() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestCacheableAuthenticationPlugin to public start() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.CachingEnabledAdapter | From | To | |
| Pull Up Method public initialize(ignore RealmOperations) : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthenticationPlugin to public initialize(realmOperations RealmOperations) : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.Adapter | From | To | |
| Pull Up Method public stop() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestCacheableAuthenticationPlugin to public stop() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.CachingEnabledAdapter | From | To | |
| Pull Up Method public start() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthenticationPlugin to public start() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.Adapter | From | To | |
| Pull Up Method public shutdown() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthenticationPlugin to public shutdown() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.Adapter | From | To | |
| Pull Up Method public shutdown() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestCacheableAuthenticationPlugin to public shutdown() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.CachingEnabledAdapter | From | To | |
| Pull Up Method public stop() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthenticationPlugin to public stop() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.Adapter | From | To | |
| Pull Up Method public initialize(realmOperations RealmOperations) : void from class org.neo4j.server.security.enterprise.auth.plugin.TestCacheableAuthenticationPlugin to public initialize(realmOperations RealmOperations) : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.CachingEnabledAdapter | From | To | |
| Change Parameter Type | 1 | ||
| Change Parameter Type authInfo : CacheableAuthInfo to authInfo : AuthInfo in method private create(authInfo AuthInfo, hashedCredentials SimpleHash, realmName String) : PluginAuthInfo in class org.neo4j.server.security.enterprise.auth.plugin.PluginAuthInfo | From | To | |
| Move Method | 4 | ||
| Move Method public stop() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthorizationPlugin to public stop() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthPlugin.Adapter | From | To | |
| Move Method public start() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthorizationPlugin to public start() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthPlugin.Adapter | From | To | |
| Move Method public initialize(realmOperations RealmOperations) : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthorizationPlugin to public initialize(realmOperations RealmOperations) : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthPlugin.Adapter | From | To | |
| Move Method public shutdown() : void from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthorizationPlugin to public shutdown() : void from class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthPlugin.Adapter | From | To | |
| Change Return Type | 2 | ||
| Change Return Type CredentialsMatcher to CustomCacheableAuthenticationInfo.CredentialsMatcher in method public getCredentialsMatcher() : CustomCacheableAuthenticationInfo.CredentialsMatcher in class org.neo4j.server.security.enterprise.auth.plugin.CustomCredentialsMatcherSupplier | From | To | |
| Change Return Type Object to byte[] in method public getCredentials() : byte[] in class org.neo4j.server.security.enterprise.auth.plugin.spi.CacheableAuthInfo | From | To | |
| Extract Class | 1 | ||
| Extract Class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthPlugin.Adapter from class org.neo4j.server.security.enterprise.auth.plugin.TestAuthorizationPlugin | From | To | |
| Move And Rename Class | 2 | ||
| Move And Rename Class org.neo4j.server.security.enterprise.auth.plugin.TestCachingAuthPlugin moved and renamed to org.neo4j.server.security.enterprise.auth.plugin.spi.AuthorizationPlugin.Adapter | From | To | |
| Move And Rename Class org.neo4j.server.security.enterprise.auth.plugin.spi.CacheableAuthInfoWithCredentialsMatcher moved and renamed to org.neo4j.server.security.enterprise.auth.plugin.CustomCredentialsMatcherSupplier | From | To | |
| Move Class | 1 | ||
| Move Class org.neo4j.server.security.enterprise.auth.plugin.spi.CacheableAuthInfoWithCredentialsMatcher.CredentialsMatcher moved to org.neo4j.server.security.enterprise.auth.plugin.spi.CustomCacheableAuthenticationInfo.CredentialsMatcher | From | To | |
| Extract Superclass | 2 | ||
| Extract Superclass org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.CachingEnabledAdapter from classes [org.neo4j.server.security.enterprise.auth.plugin.TestCacheableAuthenticationPlugin] | From | To | |
| Extract Superclass org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.Adapter from classes [org.neo4j.server.security.enterprise.auth.plugin.TestAuthenticationPlugin] | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public createCacheable(authInfo AuthInfo, realmName String, secureHasher SecureHasher) : PluginAuthInfo extracted from protected doGetAuthenticationInfo(token AuthenticationToken) : AuthenticationInfo in class org.neo4j.server.security.enterprise.auth.plugin.PluginRealm & moved to class org.neo4j.server.security.enterprise.auth.plugin.PluginAuthInfo | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter ignore : RealmOperations to realmOperations : RealmOperations in method public initialize(realmOperations RealmOperations) : void in class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthenticationPlugin.Adapter | From | To | |
| Rename Parameter ignore : RealmOperations to realmOperations : RealmOperations in method public initialize(realmOperations RealmOperations) : void in class org.neo4j.server.security.enterprise.auth.plugin.spi.AuthorizationPlugin.Adapter | From | To |