Win a copy of High Performance Python for Data Analytics this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Using LDAP and JAAAAS

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic