Package com.polarion.alm.projects.ldap
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 TypeMethodDescriptionSynchronize using all available LDAP configurations fromauthentication.xml
For more information about theauthentication.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 fromauthentication.xml
, found by provided ID.
For more information about theauthentication.xml
file, see the "Authentication guide" section in Polarion's Help.fromConfigIds
(String... configurationIds) Synchronize using several LDAP configurations fromauthentication.xml
, found by provided list of IDs.
For more information about theauthentication.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 usingauthentication.xml
file, and LDAP configuration exists in theauthentication.xml
file, then the first LDAP configuration from the XML file will be used.
-
Method Details
-
fromDefaultConfig
Synchronize using the default LDAP configuration
If Polarion authentication is configured usingauthentication.xml
file, and LDAP configuration exists in theauthentication.xml
file, then the first LDAP configuration from the XML file will be used.- Returns:
- instance of
ILdapSynchronization
depending on the first step.
-
fromConfigId
Synchronize using LDAP configuration fromauthentication.xml
, found by provided ID.
For more information about theauthentication.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
Synchronize using directly provided instance of LDAP configuration.- Returns:
- instance of
ILdapSynchronization
depending on the first step
-
fromConfigIds
Synchronize using several LDAP configurations fromauthentication.xml
, found by provided list of IDs.
For more information about theauthentication.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 ofILdapSynchronization
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 ofILdapSynchronization
delegate
-
fromAllConfigs
Synchronize using all available LDAP configurations fromauthentication.xml
For more information about theauthentication.xml
file, see the "Authentication guide" section in Polarion's Help.- Returns:
- delegating instance of
ILdapSynchronization
. It delegates all the calls to every instance ofILdapSynchronization
delegate
-