SEC-578: Set FilterInvocationDefinitionSource field in FilterChainProxy to null after it has been converted to a map of paths->filters.
This commit is contained in:
parent
9f2bc9a842
commit
9fa32bac7c
|
@ -114,6 +114,7 @@ public class FilterChainProxy implements Filter, InitializingBean, ApplicationCo
|
||||||
if (fids != null) {
|
if (fids != null) {
|
||||||
Assert.isNull(uncompiledFilterChainMap, "Set the filterChainMap or FilterInvocationDefinitionSource but not both");
|
Assert.isNull(uncompiledFilterChainMap, "Set the filterChainMap or FilterInvocationDefinitionSource but not both");
|
||||||
setFilterChainMap(new FIDSToFilterChainMapConverter(fids, applicationContext).getFilterChainMap());
|
setFilterChainMap(new FIDSToFilterChainMapConverter(fids, applicationContext).getFilterChainMap());
|
||||||
|
fids = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
Assert.notNull(uncompiledFilterChainMap, "filterChainMap must be set");
|
Assert.notNull(uncompiledFilterChainMap, "filterChainMap must be set");
|
||||||
|
|
Loading…
Reference in New Issue