Interface ILdapSyncBuilder.IWithType<T extends ILdapSyncBuilder.ILdapSynchronizationTyped<T>>

Enclosing interface:
ILdapSyncBuilder

public static interface ILdapSyncBuilder.IWithType<T extends ILdapSyncBuilder.ILdapSynchronizationTyped<T>>
Second step of configuring a flow. Allows you to specify what configuration (or configurations) should be used for synchronization.
  • Method Summary

    Modifier and Type
    Method
    Description
    Synchronize using all available LDAP configurations from authentication.xml
    For more information about the authentication.xml file, see the "Authentication guide" section in Polarion's Help.
    fromConfig(com.polarion.core.config.ILdapSecurityConfiguration configuration)
    Synchronize using directly provided instance of LDAP configuration.
    fromConfigId(String configId)
    Synchronize using LDAP configuration from authentication.xml, found by provided ID.
    For more information about the authentication.xml file, see the "Authentication guide" section in Polarion's Help.
    fromConfigIds(String... configurationIds)
    Synchronize using several LDAP configurations from authentication.xml, found by provided list of IDs.
    For more information about the authentication.xml file, see the "Authentication guide" section in Polarion's Help.
    fromConfigs(com.polarion.core.config.ILdapSecurityConfiguration... configurations)
    Synchronize using several directly provided instances of LDAP configuration.
    Synchronize using the default LDAP configuration
    If Polarion authentication is configured using authentication.xml file, and LDAP configuration exists in the authentication.xml file, then the first LDAP configuration from the XML file will be used.
  • Method Details

    • fromDefaultConfig

      @NotNull T fromDefaultConfig()
      Synchronize using the default LDAP configuration
      If Polarion authentication is configured using authentication.xml file, and LDAP configuration exists in the authentication.xml file, then the first LDAP configuration from the XML file will be used.
      Returns:
      instance of ILdapSynchronization depending on the first step.
    • fromConfigId

      @NotNull T fromConfigId(@NotNull String configId)
      Synchronize using LDAP configuration from authentication.xml, found by provided ID.
      For more information about the authentication.xml file, see the "Authentication guide" section in Polarion's Help.
      Returns:
      instance of ILdapSynchronization depending on the first step
      Throws:
      IllegalArgumentException - if no configuration has been found by the ID
    • fromConfig

      @NotNull T fromConfig(@NotNull com.polarion.core.config.ILdapSecurityConfiguration configuration)
      Synchronize using directly provided instance of LDAP configuration.
      Returns:
      instance of ILdapSynchronization depending on the first step
    • fromConfigIds

      @NotNull T fromConfigIds(@NotNull String... configurationIds)
      Synchronize using several LDAP configurations from authentication.xml, found by provided list of IDs.
      For more information about the authentication.xml file, see the "Authentication guide" section in Polarion's Help.
      Parameters:
      configurationIds - list of configuration IDs to load and synchronize
      Returns:
      delegating instance of ILdapSynchronization. It delegates all the calls to every instance of ILdapSynchronization delegate
    • fromConfigs

      @NotNull T fromConfigs(@NotNull com.polarion.core.config.ILdapSecurityConfiguration... configurations)
      Synchronize using several directly provided instances of LDAP configuration.
      Parameters:
      configurations - list of configurations to synchronize
      Returns:
      delegating instance of ILdapSynchronization. It delegates all the calls to every instance of ILdapSynchronization delegate
    • fromAllConfigs

      @NotNull T fromAllConfigs()
      Synchronize using all available LDAP configurations from authentication.xml
      For more information about the authentication.xml file, see the "Authentication guide" section in Polarion's Help.
      Returns:
      delegating instance of ILdapSynchronization. It delegates all the calls to every instance of ILdapSynchronization delegate