Results 1 to 4 of 4

Thread: Servlet filtering for 2.4 API

  1. #1
    Join Date
    Oct 2004
    Location
    Brazil
    Posts
    23

    Default Servlet filtering for 2.4 API

    Hello,

    I know that servlet forwards (as opposed to redirects) arent supposed to be secured by ACEGI as per the post below:

    http://forum.springframework.org/showthread.php?t=11025

    However when using a 2.4 servlet container a filter can be used to intercept forwards (as the last post on the above thread points out). But checking the FilterSecurityInterceptor code I noticed that it does not apply the filter for requests that were already verified, so when the filter is invoked for forwards the access is not secured anymore. I tried simply removing this check and security works just fine for both requests and forwards. Is there a reason why this repeated security check is avoided, or it can be safely removed?

    Regards,

    Victor
    Last edited by robyn; May 16th, 2006 at 04:27 AM.

  2. #2
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    We should make the behaviour switchable. I've added a task to JIRA: http://opensource.atlassian.com/proj.../browse/SEC-14

  3. #3
    Join Date
    Aug 2004
    Location
    Sydney, Australia
    Posts
    2,768

    Default

    JIRA task resolved. Will be in 0.9.0.

  4. #4
    Join Date
    Oct 2004
    Location
    Brazil
    Posts
    23

    Default

    Thanks a lot Ben!

    Regards,

    Victor

Similar Threads

  1. Servlet writing byte[] image in jsp page
    By xmartinx in forum Web
    Replies: 2
    Last Post: Apr 26th, 2012, 04:50 AM
  2. ACL based servlet filtering
    By vtatai in forum Security
    Replies: 3
    Last Post: Jun 24th, 2005, 08:29 PM
  3. Replies: 1
    Last Post: May 16th, 2005, 03:03 PM
  4. May I advice a Servlet?
    By dobri in forum AOP
    Replies: 2
    Last Post: Apr 20th, 2005, 08:20 AM
  5. Replies: 3
    Last Post: Nov 25th, 2004, 01:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •