• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

JAAS vs Form Based Authentication vs LDAP

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic