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

LDAP query from a CCM Java Plugin

Our Jazz servers (RTC 6.0.3 and 6.0.5) are connected to a corporate
LDAP Directory.

Currently, we are debugging a CCM Java plugin in which we need to query
the LDAP to get extra informations.

My questions are :

- is it possible to query the directory to which jazz is connected ?
- from the plugin, is it always necessary to establish a new connection
to the Directory (new bind), or is it possible to reuse the established
connection between the jazz server and the Directory ?
- if a new bind is mandatory, is it possible to reuse the connection
informations registered in "com.ibm.team.repository.service.jts.
internal.userregistry.ldap.LDAPUserRegistryProvider" ?
- have you some Java code samples about this subject ?

Thanks in advance

0 votes



One answer

Permanent link

Note that the LDAP connections (if exist) maintained by the Jazz applications (in particular JTS) are for user synchronization, not user authentication. Due to this, I'm not quite sure whether LDAP connections are kept alive in a pool for reuse at all. Even though you may be able to read the LDAP information registered in JTS, I doubt that you can retrieve the bind password (due to security restriction). WAS/Liberty definitely keeps LDAP connections in the connection pool for quick user authentication.

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
× 12,025
× 7,503

Question asked: Apr 05 '18, 10:40 a.m.

Question was seen: 2,630 times

Last updated: Apr 05 '18, 9:24 p.m.

Confirmation Cancel Confirm