Is there a reason it must come after the CharEncodingFilter?  Do we
have a choice, or does Grails force this?

On Tue, Dec 15, 2009 at 3:45 PM, Peter Ledbrook <[email protected]> wrote:
>>> Unfortunately, I'm not sure I'll be able to fix that without changing
>>> Grails itself. Do you have any idea whether the Shiro filter should
>>> come after Spring's CharEncodingFilter? Or is it OK if it comes
>>> before?
>>
>> It will be fine if it is before the CharEncodingFilter.  The only
>> requirement when using native sessions is that no filter before the
>> ShiroFilter should use the HttpSession.
>
> I've just looked at my code and there's a comment that says the Shiro
> filter must come after the character encoding one, otherwise the
> latter doesn't work. So I'm a bit stuck. I think I need some
> inspiration to solve this one...
>
> Thanks for the help,
>
> Peter
>

Reply via email to