File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes JAAS vs Form Based Authentication vs LDAP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply Bookmark "JAAS vs Form Based Authentication vs LDAP" Watch "JAAS vs Form Based Authentication vs LDAP" New topic
Author

JAAS vs Form Based Authentication vs LDAP

MSSA
Greenhorn

Joined: Jan 31, 2002
Posts: 2
Would anyone please comment how can we combine the following:

LDAP:
is the respository of the User, Roles; Rights, etc.... has a Custom Java API to perform the client request, e.g. authenticate(UID, PWD), getRights(resourceID), etc.

Form Based Authentication:
Would like to use it so the resources/pages/urls access can be controlled by the container automatically.

JAAS:
Still wondering if this can be used with the above two items. The actual logic of the authentication is done in the Custom LDAP Java API. The form based authentication can call the Custom LDAP API directly. Shall we use the JAAS?
Charles GAY
Greenhorn

Joined: Jun 11, 2004
Posts: 18
hi,
you can have a look at a jaas library(jguard) which enable the management of roles users, urls,firstly with a database:

http://sourceforge.net/projects/jguard

but an ldap loginModule is planned.
so, you can join the jGuard project, and i will help you ,if required,to realize it.

hope it helps,
charles.
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
MSSA,

Welcome back to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy.

Thanks Pardner! Hope to see you 'round the Ranch!
[ July 09, 2004: Message edited by: Dirk Schreckmann ]

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
 
subject: JAAS vs Form Based Authentication vs LDAP
 
Threads others viewed
To Authors: example of a JAAS implementation
j_security_check VS JAAS
Using LDAP vs. Database for authentication/authorization
JAAS JDBCRealm on WAS 7
Authentication in JSF
jQuery in Action, 2nd edition

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture