cad8ca1889e7fb068034c91197b38e7cc8d841d2
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Method | 8 | ||
Extract Method protected assertReadFails(username String) : void extracted from protected testAuthWithNoPermissionUser(username String) : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract Method protected assertWriteSucceeds() : void extracted from protected testAuthWithPublisherUser(username String, realm String) : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract Method private createPluginRealms(config Config, logProvider LogProvider) : List<Realm> extracted from public newInstance(config Config, logProvider LogProvider, allegedSecurityLog Log, fileSystem FileSystemAbstraction, jobScheduler JobScheduler) : EnterpriseAuthManager in class org.neo4j.server.security.enterprise.auth.EnterpriseAuthManagerFactory | From | To | |
Extract Method protected assertReadSucceeds() : void extracted from protected testAuthWithReaderUser(username String, realm String) : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract Method protected assertConnectionFails(authToken Map<String,Object>) : void extracted from protected assertAuthFail(username String, password String) : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract Method private createCacheManager(config Config) : CacheManager extracted from public newInstance(config Config, logProvider LogProvider, allegedSecurityLog Log, fileSystem FileSystemAbstraction, jobScheduler JobScheduler) : EnterpriseAuthManager in class org.neo4j.server.security.enterprise.auth.EnterpriseAuthManagerFactory | From | To | |
Extract Method protected assertWriteFails(username String) : void extracted from protected testAuthWithReaderUser(username String, realm String) : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract Method protected assertConnectionSucceeds(authToken Map<String,Object>) : void extracted from protected assertAuth(username String, password String, realm String) : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method protected assertReadSucceeds() : void extracted from public shouldAuthenticateAndAuthorizeWithTestAuthPlugin() : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.PluginAuthenticationIT & moved to class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract And Move Method protected assertConnectionSucceeds(authToken Map<String,Object>) : void extracted from public shouldAuthenticateWithTestAuthenticationPlugin() : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.PluginAuthenticationIT & moved to class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract And Move Method protected assertConnectionSucceeds(authToken Map<String,Object>) : void extracted from public shouldAuthenticateAndAuthorizeWithTestAuthPlugin() : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.PluginAuthenticationIT & moved to class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To | |
Extract And Move Method protected assertWriteFails(username String) : void extracted from public shouldAuthenticateAndAuthorizeWithTestAuthPlugin() : void in class org.neo4j.server.security.enterprise.auth.integration.bolt.PluginAuthenticationIT & moved to class org.neo4j.server.security.enterprise.auth.integration.bolt.EnterpriseAuthenticationTestBase | From | To |