https://issues.apache.org/bugzilla/show_bug.cgi?id=53777

--- Comment #3 from eolivelli <eolive...@gmail.com> ---
Created attachment 29275
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29275&action=edit
Patch on JAASRealm (tomcat 7 trunk)

I tried to write a patch against JAASREalm.java (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
configuration)
- 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: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to