[
https://issues.apache.org/jira/browse/SHIRO-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Francois Papon updated SHIRO-224:
---------------------------------
Fix Version/s: 2.0.0
(was: 2.0.0-alpha)
> Refactor Shiro's Filters to favor composition over inheritance where possible.
> ------------------------------------------------------------------------------
>
> Key: SHIRO-224
> URL: https://issues.apache.org/jira/browse/SHIRO-224
> Project: Shiro
> Issue Type: Improvement
> Components: Web
> Reporter: Les Hazlewood
> Priority: Major
> Fix For: 2.0.0
>
>
> Scheduling to 2.0 initially as this might be disruptive.
> Currently, to receive the benefits of the NameableFilter,
> OncePerRequestFilter, PathMatchingFilter, etc, a user must subclass one of
> these classes. It would be better to have a proxy of sorts that performs
> these functions for any filter and wraps the 'real' target filter. This way,
> users' filter implementations do not need to be tightly coupled to Shiro's
> API. This will also enable these features for already existing filters so
> they don't need to be refactored to subclass a Shiro class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]