Results 1 to 2 of 2

Thread: Multiple web.FilterSecurityInterceptor-s per filter

  1. #1
    Join Date
    Jan 2005
    Posts
    1

    Default Multiple web.FilterSecurityInterceptor-s per filter

    Hi,

    we are appling Acegi security to large Spring-Struts web based application.

    There are several modules which have its own spring context and struts xml configuration files. We would like each module also have a dedicated acegi security xml file that will contain method invocation and url security declarations.

    Is to possible to specify several FilterSecurityInterceptors ( one for each module ) and apply for SecurityEnforcementFilter ?

    Thanks.

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

    Default

    Yes, you can have multiple SecurityEnforcementFilers in your IoC context. You could either chain all of them in web.xml, or simply rely on distinct filter-mapping declarations for each module.

    The FilterToBeanProxy accepts a targetBean initialization parameter, which can be used to diffferentiate the various SecurityEnforcementFilter instances.

Similar Threads

  1. after login redirects incorrectly
    By ryan.tyer in forum Security
    Replies: 1
    Last Post: Oct 10th, 2005, 05:16 PM
  2. Loosing my SecureContext
    By sklakken in forum Security
    Replies: 3
    Last Post: Jul 21st, 2005, 01:44 PM
  3. Replies: 4
    Last Post: May 29th, 2005, 07:39 AM
  4. Replies: 5
    Last Post: Mar 18th, 2005, 04:01 AM
  5. Multiple Pages
    By afida in forum Swing
    Replies: 12
    Last Post: Feb 16th, 2005, 08:42 AM

Posting Permissions

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