Package com.polarion.alm.projects.ldap
Interface ILdapUsersSynchronization
- All Superinterfaces:
ILdapSynchronization
- All Known Subinterfaces:
ILdapUsersSynchronization.ITyped
New API for synchronizing users from LDAP server. This should be used instead of
ILDAPUserSynchronization
.- Since:
- 3.20.1
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
An extension interface to add builder pattern methods toILdapUsersSynchronization
-
Method Summary
Modifier and TypeMethodDescriptionSynchronizes users on the Polarion and LDAP servers.boolean
updateUser
(IUser user) Updates the user object with information from LDAP server.Methods inherited from interface com.polarion.alm.projects.ldap.ILdapSynchronization
isEnabled, setCreate, setUpdate
-
Method Details
-
updateUser
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
Synchronizes users on the Polarion and LDAP servers. Depends on fields set through theILdapSynchronization.setCreate(boolean)
andILdapSynchronization.setUpdate(boolean)
setter methods. The default values for these fields are bothfalse
(in which case, only synchronization state information is obtained).- Returns:
- Returns report with synchronization results.
- Throws:
IllegalStateException
- if not enabled.- See Also:
-