Spring Security
  1. Spring Security
  2. SEC-1725

Create a specific class to represent a security filter chain and refactor FilterChainProxy to use it

    Details

    • Type: Refactoring Refactoring
    • Status: Closed
    • Priority: Major Major
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.RC2
    • Component/s: None
    • Labels:
      None

      Description

      FilterChainProxy is currently configured with a Map<RequestMatcher, List<Filter>> which is unwieldy. Introducing an immutable class which combines the matcher with the list of filters would be more deterministic and would make the use of Java-based configuration easier. The bean would also be registered as the filter chain, when a 'name' is specified in the <http> block as introduced in SEC-1657.

        Issue Links

          Activity

          Hide
          Luke Taylor added a comment -

          Created SecurityFilterChain class, which is now used to configure FilterChainProxy via constructor injection. Commits accidentally logged as part of related SEC-1657.

          Show
          Luke Taylor added a comment - Created SecurityFilterChain class, which is now used to configure FilterChainProxy via constructor injection. Commits accidentally logged as part of related SEC-1657 .

            People

            • Assignee:
              Luke Taylor
              Reporter:
              Luke Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: