shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Finkelstein (JIRA)" <j...@apache.org>
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
                 URL: https://issues.apache.org/jira/browse/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: 
http://shiro-user.582556.n2.nabble.com/Webapp-initialization-happens-before-Shiro-initialization-td6345903.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message