This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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

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)
GeeCON Prague 2014
subject: EAR-wide JAAS