Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Synchronize user LDAP with JTS using Java API

 Hello,


I've already posted a question regarding the usage of the Java API to synchronize a user from LDAP with JTS:


I also implemented the approach from the following link:

But that approach does not seem to work. The other two possibilities are using "reptool -syncusers" or configure the synchronization frequency of the JTS, but I have some concerns regarding the performance since the LDAP contains thousands of users.

So my question is: Is there another possibility to use the Java API to trigger a synchronization of a certain user (or at last synchronization of a whole LDAP)?

0 votes

Comments
This is not an API that a lot of users would look at. In addition you seem to be unwilling to experiment and take risks on guidance that has already been provided.

You would have to look into the RTC SDK. The UI does stuff like that, however, if that is considered API or even external API is a completely different matter.


A colleague has created something for a completely different purpose: https://github.com/jamsden/LDAP-RTC-Synchronizer maybe that helps.

https://jazz.net/library/article/1000 will help you with the SDK. https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ can help if you are willing to search and investigate. 



One answer

Permanent link

 we do it outside and have disabled the LDAP sync at all. It's much more robust, and we have better control about changes in user records.


This means, we have an external application, connecting to LDAP, take the user information from there based on the Jazz groups and updates/creates/archives etc. the user in JTS. The Interface to Jazz is done with repotools user commands.

Quite a simple foreach loop and no Jazz API required.


0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 88
× 17

Question asked: Feb 04 '19, 6:39 a.m.

Question was seen: 2,807 times

Last updated: Feb 15 '19, 4:54 p.m.

Confirmation Cancel Confirm