You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Diogo Guerra <di...@gmail.com> on 2012/05/25 03:36:15 UTC
Controlling filters at application server level
Hi All,
We are integrating shiro in your embedded web server (jetty 8) and we
provide off the shelf multiple web applications that require security.
We have a requirement of in some cases do not require ssl, but in other
situations to for the usage of ssl.
We share the SecurityManager among all the applications. Is there any way
to disable progamatically the ssl filter (to avoid going to all ini files
and remove the ssl filters..) ?
Best Regards
--Diogo
Re: Controlling filters at application server level
Posted by Les Hazlewood <lh...@apache.org>.
Yes - programmatic control is possible by overriding the
isEnabled(request, response) method:
http://shiro.apache.org/web.html#Web-RequestspecificEnabling%252FDisabling
Cheers,
--
Les Hazlewood
CTO, Stormpath | http://stormpath.com | 888.391.5282
twitter: @lhazlewood | http://twitter.com/lhazlewood
blog: http://leshazlewood.com
stormpath blog: http://www.stormpath.com/blog
On Thu, May 24, 2012 at 6:36 PM, Diogo Guerra <di...@gmail.com> wrote:
> Hi All,
>
> We are integrating shiro in your embedded web server (jetty 8) and we
> provide off the shelf multiple web applications that require security.
>
> We have a requirement of in some cases do not require ssl, but in other
> situations to for the usage of ssl.
>
> We share the SecurityManager among all the applications. Is there any way to
> disable progamatically the ssl filter (to avoid going to all ini files and
> remove the ssl filters..) ?
>
> Best Regards
>
> --Diogo