shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Finkelstein (JIRA)" <>
Subject [jira] [Created] (SHIRO-293) Initialize Shiro using a <listener> in web.xml
Date Tue, 10 May 2011 05:22:03 GMT
Initialize Shiro using a <listener> in web.xml

                 Key: SHIRO-293
             Project: Shiro
          Issue Type: New Feature
            Reporter: Dan Finkelstein

For a webapp, Shiro is initialized during web.xml's <filter> initialization.  Before
this, the <listeners> are initialized and that is the recommended place for app initialization
because, for one thing, they can be gracefully aborted.  

It would be nice if Shiro would support initialization in a listener's contextInitialized()
method.  Perhaps a new class like ShiroServletContextListener could be added.

Please see the following discussion:

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message