On 12-01-2009 at 17:10, Leonard Gestrin wrote:
> We have securityFilter configured that needs to be executed prior to
> requests getting actions.  (checks user's session and optional request's
> parameter).
> 
> Due to the fact that securityFilter accesses params, StripesFilter needs to
> get invoked ahead of it to set proper encoding. (locale picker business)
> 
> So, I've configured SecurityFilter, StripesFilter, DispatcherServlet to map
> to '*.action' as oppose to StripesFilter mapping to DispatcherServlet.
> 
> This caused stripes filter to get ahead of security filter. I don't see any
> weird behavior (including file upload), but I just need to double check if
> there are any potential problems.
> This stripes 1.4.3

None. Just be sure to define the StripesFilter first: as per the spec.,
filters are invoked in the order they are defined.


Oscar

-- 
   ,-_  Oscar Westra van holthe - Kind      http://www.xs4all.nl/~kindop/
  /() )
 (__ (  The haves and the have-nots can often be traced back to the
=/  ()  dids and the did-nots.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to