@Test public void testGetProtectedItemImporters() { UserConfigurationImpl configuration = new UserConfigurationImpl(getSecurityProvider()); List<ProtectedItemImporter> importers = configuration.getProtectedItemImporters(); assertEquals(1, importers.size()); assertTrue(importers.get(0) instanceof UserImporter); }
@NotNull @Override public List<ProtectedItemImporter> getProtectedItemImporters() { return Collections.<ProtectedItemImporter>singletonList(new UserImporter(getParameters())); }
UserConfigurationImpl extends ConfigurationBase implements UserConfiguration, SecurityConfiguration { @NotNull @Override public List<ProtectedItemImporter> getProtectedItemImporters() { return Collections.<ProtectedItemImporter>singletonList(new UserImporter(getParameters())); } }
UserConfigurationImpl extends ConfigurationBase implements UserConfiguration, SecurityConfiguration { @NotNull @Override public List<ProtectedItemImporter> getProtectedItemImporters() { return Collections.<ProtectedItemImporter>singletonList(new UserImporter(getParameters())); } UserConfigurationImpl();  UserConfigurationImpl(SecurityProvider securityProvider); }
UserConfigurationImpl extends ConfigurationBase implements UserConfiguration, SecurityConfiguration { @NotNull @Override public List<ProtectedItemImporter> getProtectedItemImporters() { return Collections.<ProtectedItemImporter>singletonList(new UserImporter(getParameters())); } UserConfigurationImpl();  UserConfigurationImpl(SecurityProvider securityProvider); static UserAuthenticationFactory getDefaultAuthenticationFactory(); @NotNull @Override String getName(); @NotNull @Override ConfigurationParameters getParameters(); @NotNull @Override WorkspaceInitializer getWorkspaceInitializer(); @NotNull @Override List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker); @NotNull @Override List<ThreeWayConflictHandler> getConflictHandlers(); @NotNull @Override List<ProtectedItemImporter> getProtectedItemImporters(); @NotNull @Override Context getContext(); @NotNull @Override UserManager getUserManager(Root root, NamePathMapper namePathMapper); @Nullable @Override PrincipalProvider getUserPrincipalProvider(@NotNull Root root, @NotNull NamePathMapper namePathMapper); }
UserConfigurationImpl extends ConfigurationBase implements UserConfiguration, SecurityConfiguration { @NotNull @Override public List<ProtectedItemImporter> getProtectedItemImporters() { return Collections.<ProtectedItemImporter>singletonList(new UserImporter(getParameters())); } UserConfigurationImpl();  UserConfigurationImpl(SecurityProvider securityProvider); static UserAuthenticationFactory getDefaultAuthenticationFactory(); @NotNull @Override String getName(); @NotNull @Override ConfigurationParameters getParameters(); @NotNull @Override WorkspaceInitializer getWorkspaceInitializer(); @NotNull @Override List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker); @NotNull @Override List<ThreeWayConflictHandler> getConflictHandlers(); @NotNull @Override List<ProtectedItemImporter> getProtectedItemImporters(); @NotNull @Override Context getContext(); @NotNull @Override UserManager getUserManager(Root root, NamePathMapper namePathMapper); @Nullable @Override PrincipalProvider getUserPrincipalProvider(@NotNull Root root, @NotNull NamePathMapper namePathMapper);  }