@Test public void testUserConfigurationWithSetParameters() { UserConfigurationImpl userConfiguration = new UserConfigurationImpl(); userConfiguration.setParameters(getParams()); testConfigurationParameters(userConfiguration.getParameters()); }
@NotNull @Override public ConfigurationParameters getParameters() { ConfigurationParameters params = super.getParameters(); if (!params.containsKey(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY)) { return ConfigurationParameters.of( params, ConfigurationParameters.of(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY, DEFAULT_AUTH_FACTORY)); } else { return params; } }
UserConfigurationImpl extends ConfigurationBase implements UserConfiguration, SecurityConfiguration { @NotNull @Override public ConfigurationParameters getParameters() { ConfigurationParameters params = super.getParameters(); if (!params.containsKey(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY)) { return ConfigurationParameters.of( params, ConfigurationParameters.of(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY, DEFAULT_AUTH_FACTORY)); } else { return params; } } }
UserConfigurationImpl extends ConfigurationBase implements UserConfiguration, SecurityConfiguration { @NotNull @Override public ConfigurationParameters getParameters() { ConfigurationParameters params = super.getParameters(); if (!params.containsKey(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY)) { return ConfigurationParameters.of( params, ConfigurationParameters.of(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY, DEFAULT_AUTH_FACTORY)); } else { return params; } } UserConfigurationImpl();  UserConfigurationImpl(SecurityProvider securityProvider); }
UserConfigurationImpl extends ConfigurationBase implements UserConfiguration, SecurityConfiguration { @NotNull @Override public ConfigurationParameters getParameters() { ConfigurationParameters params = super.getParameters(); if (!params.containsKey(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY)) { return ConfigurationParameters.of( params, ConfigurationParameters.of(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY, DEFAULT_AUTH_FACTORY)); } else { return params; } } 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 ConfigurationParameters getParameters() { ConfigurationParameters params = super.getParameters(); if (!params.containsKey(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY)) { return ConfigurationParameters.of( params, ConfigurationParameters.of(UserConstants.PARAM_USER_AUTHENTICATION_FACTORY, DEFAULT_AUTH_FACTORY)); } else { return params; } } 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);  }