This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "EAR-wide JAAS" Watch "EAR-wide JAAS" New topic
Author

EAR-wide JAAS

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: http://aspose.com/file-tools
 
subject: EAR-wide JAAS
 
Similar Threads
EAR Isolation in Jboss 4.0.2
maven: the war directory structure
JAAS In WebSphere
Auto load war in oOC4J
EAR Isolation in Jboss 4.0.2