tomcat-dev mailing list archives

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

          Priority: P2
            Bug ID: 53777
           Summary: Ability to bundle JAAS Configuration in Webappp
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Catalina
           Product: Tomcat 7

I would like to let JAASRealm to load JAAS Configuration from a .properties
file bundled in a web application (either in WEB-INF/classes or in any JAR on
the classpath of the context)

Actually (7.0.29) JAASRealm creates a LoginContext using the 2-args constructor
loginContext = new LoginContext(appName, callbackHandler); 

I propose to add a new configuration parameter on JAASRealm to let it load a from the ContextClassLoader

this new Configuration has to be passed to the 4-args constructor
loginContext = new LoginContext(appName, subject, callbackHandler,

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