File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes EAR-wide JAAS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "EAR-wide JAAS" Watch "EAR-wide JAAS" New topic


Mark Wa
Ranch Hand

Joined: May 29, 2009
Posts: 122
Is it possible to configure security in the EAR rather than the WAR so that it applies to all wars?

I have managed to set up JAAS for all modules in the ear, but when switching between, I am again prompted for a user/pass.

Is there a config I can create in the EAR DD (or even the geronimo-application.xml) rather than the WAR DD to avoid this problem?

Thanks, Mark.

PS. I am using Geronimo 2.1 (Tomcat)
I agree. Here's the link:
subject: EAR-wide JAAS
It's not a secret anymore!