Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using LDAP and JAAAAS

 
Saniya Ansari
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can browse your LDAP with this program from http://www-unix.mcs.anl.gov/~gawor/ldap/. 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.

Regards,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic