tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53777] Ability to bundle JAAS Configuration in Webappp
Date Fri, 24 Aug 2012 15:29:46 GMT

--- Comment #3 from eolivelli <> ---
Created attachment 29275
Patch on JAASRealm (tomcat 7 trunk)

I tried to write a patch against (don't know if it is the
correct format)

Patch is for Tomcat 7 trunk

this is what is does:
- adds "configfile" property (will be resolved as
ClassLoader.getResource().toURI) to require the use of a custom JAAS
Configuration file
- instantiates a "sun" ConfigFile (using Reflection) to have a Configuration
- uses the 4-args constructor of LoginContext (in order to use the custom
- sets a work-around for a bug in Realm setup (parseClassNames) because
sometimes that method is not called with a good contextclassloader

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message