This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 49

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: 443
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
wood burning stoves
subject: LDAP Authentication in Websphere 7
Similar Threads
Why the 401 exception after authenticating?
JAAS and Tomcat
jaas - Authentication in websphere 5.0
looking for a simple configuration file (JAAS)
JAAS login servlet