× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe Sam Shirah wrote:
First question is, do you need JAAS? Most app servers allow you to set
the default security mechanism (like LDAP) and you can use form based
authentication, which should also pick up the groups.
...
If JAAS is necessary, you're probably better off just writing it
yourself with a LoginModule implementation instead of trying to get
something with built-in restrictions (like JndiLoginModule) to work.
There's plenty of LDAP access code around. You can also look at something
like jGuard, but third party add-ons often use additional application
filters. App filters are great, but you can be surprised when and how often
they run.

Thanks for the feedback Joe. I'm looking at using JAAS for Swing apps (deployed with Web Start). I was initially quite excited to see the LoginModule implementations in JDK6, in fact it motivated me to migrate all our Swing code to Java6. I was quite disappointed when I came to the actual implementation to find these various short comings.

So I guess I'll bite the bullet, and write my own LoginModule. I suppose at the least I'll learn something from the exercise :P

Brian

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.