SEC-1407: Use RequestMatcher instances as the FilterInvocationSecurityMetadataSource keys and in the FilterChainMap use by FilterChainProxy.

This greatly simplifies the code and opens up possibilities for other matching strategies (e.g. EL). This also means that matching is now completely strict - the order of the matchers is all that matters (not whether an HTTP method is included or not). The first matcher that returns true will be used.
This commit is contained in:
Luke Taylor
2010-03-01 00:59:46 +00:00
parent 962a2d5272
commit 93438defff
23 changed files with 978 additions and 992 deletions

View File

@@ -27,6 +27,7 @@ Import-Template:
org.springframework.dao;version="[${spring.version}, 3.2.0)";resolution:=optional,
org.springframework.expression;version="[${spring.version}, 3.2.0)";resolution:=optional,
org.springframework.expression.spel.*;version="[${spring.version}, 3.2.0)";resolution:=optional,
org.springframework.http.*;version="[${spring.version}, 3.2.0)",
org.springframework.jdbc.*;version="[${spring.version}, 3.2.0)";resolution:=optional,
org.springframework.mock.web;version="[${spring.version}, 3.2.0)";resolution:=optional,
org.springframework.web.context.*;version="[${spring.version}, 3.2.0)";resolution:=optional,