File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Using LDAP and JAAAAS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "Using LDAP and JAAAAS" Watch "Using LDAP and JAAAAS" New topic


Saniya Ansari
Ranch Hand

Joined: Sep 30, 2002
Posts: 48
Hi I'm working on a LDAP based authentication module for my web application using JAAS. Had a question on LDAP.. as a developer do i need to create a schema or something or how does it work.. my company has a ldap server set up but i'm not sure exactly how to go about using it for testing my applciation.. any helpful tutorial/resources or brief explanation would make my life easy

Heonkoo Lee
Ranch Hand

Joined: Feb 10, 2005
Posts: 85
You can browse your LDAP with this program from As a developer, you are not supposed to edit the schemas, I guess. Ask your sys admin. You just need to figure out how to configure LDAP login module on the app server. If your server supports JAAS, it must have a login config file. JBoss, for example, has login-config.xml under config directory, which can define all the login modules including file, database, or LDAP-based login.

I agree. Here's the link:
subject: Using LDAP and JAAAAS
jQuery in Action, 3rd edition