shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Les Hazlewood (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SHIRO-293) Initialize Shiro using a <listener> in web.xml
Date Wed, 18 May 2011 01:05:47 GMT

     [ 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

Mime
View raw message