This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Similar Threads
maven: the war directory structure
EAR Isolation in Jboss 4.0.2
JAAS In WebSphere
Auto load war in oOC4J
EAR Isolation in Jboss 4.0.2