File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Tutorial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Tutorial" Watch "Tutorial" New topic
Author

Tutorial

Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
Hi All,

I need a good tutorial on LDAP and JAAS.
Can someone help me.
Also nething(example, sample code) on how to integrate/use JAAS and LDAP together.
I need to use JAAS with LDAP to get the roles, groups, users, privilages etc..from the Directory server on the basis of userid.

Thanx
Francis Shillitoe
Greenhorn

Joined: Aug 30, 2002
Posts: 22
Are you using an application server ? App servers like WebLogic have authentication modules which plug into common LDAP directory servers. The authentication modules are JAAS modules.

If not, you can use JNDI or the Mozilla LDAP SDK (http://www.mozilla.org/directory/) to connect to the directory server. You would establish this connection in your JAAS login module implementation.

JAAS is a big subject (http://java.sun.com/products/jaas/overview.html), as you've probably found out Are you using an existing security framework or developing your own ?

Francis


<a href="http://www.shillitoe.com" target="_blank" rel="nofollow">http://www.shillitoe.com</a>
Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
yes we are using Websphere as our application server.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tutorial
 
Similar Threads
how to configure and use "20100514-jaas-book-code " web JAAS Tutorial in ANT through Eclipse
Using LDAP and JAAAAS
Windows Authentication
JndiLoginModule and user bind?
how to configure and use "20100514-jaas-book-code " web JAAS Tutorial in ANT through Eclipse