shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Descher (JIRA)" <>
Subject [jira] [Commented] (SHIRO-617) ShiroFilter initialize WebEnvironment on startup
Date Fri, 20 Oct 2017 06:39:00 GMT


Marco Descher commented on SHIRO-617:

Could you please have a look at the pull request? Thanks

> ShiroFilter initialize WebEnvironment on startup
> ------------------------------------------------
>                 Key: SHIRO-617
>                 URL:
>             Project: Shiro
>          Issue Type: Improvement
>            Reporter: Marco Descher
>            Priority: Minor
> Following up to
> I am integrating shiro into our OSGI based product. The requirement to register the WebEnvironment
listener on startup is a real problem.
> ""it would be extremely easy to create a subclass of ShiroFilter that 
> initializes the necessary WebEnvironment at filter startup.  If you 
> can't use a servlet context listener, this would be the next best 
> thing and would work as expected.  The EnvironmentLoaderListener is 
> extremely minimal on purpose - the real work is done in the parent 
> class, which can be used from a Filter easily. ""

This message was sent by Atlassian JIRA

View raw message