Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EAR-wide JAAS

 
Mark Wa
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic