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

Does Jetty support LDAP authentication?

I am setting up an environment for RTC extensions development.
I wonder whether it is possible to configure the embedded Jetty server for LDAP authentication, in order to reproduce the configuration of the production environment as accurately as possible.
Has anyone ever tried to do that?
I am working with RTC 4.0.5

0 votes


Accepted answer

Permanent link
Hello Luca,

short answer is yes,
you will find some details on this topic here:
https://wiki.eclipse.org/Jetty/Tutorial/JAAS#LdapLoginModule
Luca Martinucci selected this answer as the correct answer

3 votes

Comments

Piotr, I don't really understand.

I would like to configure RTC running on a Jetty server for LDAP authentication.
Is it possible by simply configuring the RTC LDAP parameters, or are there any additional settings that must be done on Jetty (according to the topic you suggested me to read)?

OK, so the original question was, does Jetty support LDAP. It does, but this capability is provided by a separate module, and needs to be enabled, as per the article I linked.

Now, a separate issue is, will this work wih RTC. As you surely know, RTC is not supported on Jetty:
https://jazz.net/wiki/bin/view/Deployment/CLMSystemRequirements
Having said that, it should work anyway.

1 vote

I would like to ask, why Jetty and LDAP? What is the underlying reason. RTC on Jetty for developing extensions makes sense. Otherwise I don't think you should do it. If you want to extend RTC, why would you need LDAP (connected with RTC)?

2 votes

@Piotr:

I have been able to setup the LDAP configuration for RTC on Jetty, in the sense that I am able to import users from LDAP; anyway, I cannot log in with LDAP users' credentials; so I suppose that some additional, Jetty-side, configuration is needed.
Of course I know that RTC is not supported on Jetty; my Jetty environment is intended to be a quick test environment for extensions I am developing (before deploying them to a more robust Tomcat test environment).
I realized that actually I don't really need LDAP authentication on Jetty, as it is out of scope and too complex to set up, so I decided to switch back to internal authentication.

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
× 10,938
× 88
× 8

Question asked: Mar 10 '14, 12:41 p.m.

Question was seen: 9,147 times

Last updated: Mar 12 '14, 10:51 a.m.

Confirmation Cancel Confirm