You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Les Hazlewood (JIRA)" <ji...@apache.org> on 2011/05/18 03:05:47 UTC
[jira] [Assigned] (SHIRO-293) Initialize Shiro using a
in web.xml
[ https://issues.apache.org/jira/browse/SHIRO-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Les Hazlewood reassigned SHIRO-293:
-----------------------------------
Assignee: Les Hazlewood
> 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
> Assignee: Les Hazlewood
> Fix For: 1.2.0
>
>
> 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