This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Websphere and the fly likes LDAP Authentication in Websphere 7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "LDAP Authentication in Websphere 7" Watch "LDAP Authentication in Websphere 7" New topic

LDAP Authentication in Websphere 7

Debopam Poddar
Ranch Hand

Joined: Jun 21, 2005
Posts: 51

We are using WAS 5.1 and migrating to WAS 7. Following code is used for LDAP authentication. Can some one explain how it is works and where it is specified to connect to which LDAP?

Deepak Pant
Ranch Hand

Joined: Feb 13, 2004
Posts: 446
I am not able to figure out anything from the code you pasted here. We have integrated with TDS 6.1.x and our code looks lot different. It has very specific installs, specific JNDI, property files etc. Suggest you look at the two part article present in this link:
Brian Hennessy
Ranch Hand

Joined: Oct 24, 2005
Posts: 57
Hi Debopam ,
I cannot answer the question on how it works because I have not looked at the source but I suspect under the covers it does some ldap lookup similar to the articles Deepak has provided. In terms of where the the ldap server is configured it will be in the Global security settings in admin console you need to select ldap as the active user registry. In the same screen it should provide a link to configure the ldap settings (host, port , base dn etc) . I believe this code will look at these configuration details to connect to ldap
I agree. Here's the link:
subject: LDAP Authentication in Websphere 7
It's not a secret anymore!