Package com.polarion.alm.projects
Interface ILDAPUserSynchronization
public interface ILDAPUserSynchronization
- Author:
- Jiri Banszel, POLARION SOFTWARE
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static class
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.synchronizeUsers
(boolean create, boolean update) Deprecated.Since 3.20.1 useILdapUsersSynchronization.synchronizeUsers()
.boolean
updateUser
(IUser user) Deprecated.Since 3.20.1 useILdapUsersSynchronization.updateUser(IUser)
.
-
Method Details
-
isEnabled
Deprecated.Since 3.20.1 useILdapSynchronization.isEnabled()
.If synchronization is not enabled all other methods of this interface will throwIllegalStateException
. -
updateUser
Deprecated.Since 3.20.1 useILdapUsersSynchronization.updateUser(IUser)
.Updates the user object with information from LDAP server.- Parameters:
user
-- Returns:
true
if the user object was modified as a result of the call.- Throws:
IllegalStateException
- if not enabled.NamingException
IOException
- See Also:
-
synchronizeUsers
@Deprecated @NotNull ILDAPUserSynchronization.ILDAPUserSynchronizationReport synchronizeUsers(boolean create, boolean update) Deprecated.Since 3.20.1 useILdapUsersSynchronization.synchronizeUsers()
.Synchronizes users on the Polarion and LDAP servers. Depending on arguments users in Polarion are created, updated or only synchronization state information is obtained.- Parameters:
create
- iftrue
users found on the LDAP server but don't exist in Polarion will be created in Polarion.update
- iftrue
existing Polarion users will be updated using information in LDAP (if any).- Throws:
IllegalStateException
- if not enabled.- See Also:
-
ILdapSynchronization.isEnabled()
.