[
https://issues.apache.org/jira/browse/SHIRO-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Les Hazlewood closed SHIRO-221.
-------------------------------
Closing with the 1.2.0 release.
> Allow Shiro Filters to be enabled or disabled with a config property
> --------------------------------------------------------------------
>
> Key: SHIRO-221
> URL: https://issues.apache.org/jira/browse/SHIRO-221
> Project: Shiro
> Issue Type: Improvement
> Components: Web
> Reporter: Les Hazlewood
> Assignee: Les Hazlewood
> Fix For: 1.2.0
>
>
> It is much more convenient to be able to enable or disable a filter in
> Shiro's [filters] (aka 'filter chain definitions') configuration based on a
> config property rather than actually removing it from a filter chain.
> For example, it would be much more convenient to turn on or off Shiro's SSL
> filter via configuration than to have to to mess with a <security-constraint>
> definition in web.xml. E.g. in development, you want SSL disabled, but in
> production it must be enabled - it is a real pain to try to do this in the
> build with Maven filtering for example because it messes with the IDE's
> ability to use that same web.xml file for embedded web deployments.
> The Shiro Filter property configuration approach is much more flexible and
> can even be controlled at runtime if desired.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira