Hi,
Unfortunately not, without have to create some bridged code. Just
because we are stuck in some old servlet api that do not supply a way to
register a listener that is mandatory in the now-default ShiroFilter.
regards
Cristiano
On 19/01/12 19:01, Les Hazlewood wrote:
The same effect can be achieved using the now-default ShiroFilter and
register it as you would any other filter. Is this not possible?
On Thu, Jan 19, 2012 at 12:41 PM, Cristiano Gavião<[email protected]> wrote:
Shiro dev guys,
I'm sent this mail to ask about the deprecation of
org.apache.shiro.web.servlet.IniShiroFilter.
As I try to explain in the user list, the OSGi Spec for HTTP does not
provide a way to register Filter neither Listeners.
But the HTTP API provided by both of the most used osgi containers (Equinox
and Felix) provides a way to register Filters, but lacks a way to register
Listeners.
Don't know when this can happen, actually. People from IBM told me that
maaaaybe it could happen in next version of the OSGi Spec.
So, I would like to ask to the Shiro team to review such deprecation for
now.
regards,
Cristiano