The order of the interceptors can be defined with the Interceptor.Classes 
parameter in the StripesFilter. For an example see:
 http://www.stripesframework.org/display/stripes/Securing+Stripes+With+ACLs

regards,
Karen


"Ross Sargant" <rsarg...@tvrc.com> wrote in message 
news:bafb48741003260834v76d4943fi6c35e3c81c13f...@mail.gmail.com...
> Hi,
>  How can I get my custom security interceptor to run ahead of the
> BeforeAfterMethod interceptor?  In the event of  server side session
> timeout, my security interceptor  detects the null user object in the http
> session and tries to interrupt the processing flow by returning a 
> resolution
> to my login page (with a "session timeout" message).
>
> It isn't working correctly because the BeforeAfterMethod interceptor is
> running first and still executes some @After methods on the bean. The
> @After methods wind up throwing NPEs because the session state is gone.
>
>
>
> -- 
> Ross Sargant
> Software Engineer
> p: 954-623-6015 x2108
> email: rsarg...@tvrc.com
>
> TVR Communications LLC
> 541 S. State Road 7,Suite 5,Margate, Florida,33068
>
> http://www.tvrc.com
>


--------------------------------------------------------------------------------


> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev


--------------------------------------------------------------------------------


> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
> 




------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to