JAAS Tomcat

I've implemented JAAS with Tomcat because I'd like to both authenticate as well as authorize users of the web app. Currently, I have created a jaas.conf file which is located in the conf directory of Tomcat. However, I'd like to be able to make the authentication/authorization process independent of any settings of the Tomcat app server. ( Consider a hosting company like lunar pages where one can not make changes to the settings for the Resin server - Resin is a servlet container/engine like Tomcat ) All configuration must be application level, and the JVM is shared. So how do I specify what Configuration is to be used by the LoginContext in this circumstance? And If I set a property using System.setProperty(key,value) doesn't that effect other apps running in a shared JVM?

[795 byte] By [nantucketa] at [2007-11-27 9:58:53]
# 1
I think I've found a solution. I'm going to subclass "Configuration" in the javax.security.auth.login package, and see where that goes. I'll be able to use this instance when I attempt to create the LoginContext and that's the goal. Clearly I need to do a bit more reading.
nantucketa at 2007-7-13 0:29:47 > top of Java-index,Security,Other Security APIs, Tools, and Issues...