Added newlines to filter list to test use of xsd:token.
This commit is contained in:
parent
bb7ef1fa8b
commit
9993a7f6e4
|
@ -51,7 +51,12 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc
|
||||||
<bean id="newFilterChainProxy" class="org.springframework.security.web.FilterChainProxy">
|
<bean id="newFilterChainProxy" class="org.springframework.security.web.FilterChainProxy">
|
||||||
<sec:filter-chain-map path-type="ant">
|
<sec:filter-chain-map path-type="ant">
|
||||||
<sec:filter-chain pattern="/foo/**" filters="mockFilter"/>
|
<sec:filter-chain pattern="/foo/**" filters="mockFilter"/>
|
||||||
<sec:filter-chain pattern="/some/other/path/**" filters="sif,mockFilter,mockFilter2"/>
|
<sec:filter-chain pattern="/some/other/path/**"
|
||||||
|
filters="
|
||||||
|
sif,
|
||||||
|
mockFilter,
|
||||||
|
mockFilter2"
|
||||||
|
/>
|
||||||
<sec:filter-chain pattern="/do/not/filter" filters="none"/>
|
<sec:filter-chain pattern="/do/not/filter" filters="none"/>
|
||||||
<sec:filter-chain pattern="/**" filters="sif,apf,mockFilter"/>
|
<sec:filter-chain pattern="/**" filters="sif,apf,mockFilter"/>
|
||||||
</sec:filter-chain-map>
|
</sec:filter-chain-map>
|
||||||
|
@ -67,7 +72,10 @@ http://www.springframework.org/schema/security http://www.springframework.org/sc
|
||||||
<bean id="newFilterChainProxyWrongPathOrder" class="org.springframework.security.web.FilterChainProxy">
|
<bean id="newFilterChainProxyWrongPathOrder" class="org.springframework.security.web.FilterChainProxy">
|
||||||
<sec:filter-chain-map path-type="ant">
|
<sec:filter-chain-map path-type="ant">
|
||||||
<sec:filter-chain pattern="/foo/**" filters="mockFilter"/>
|
<sec:filter-chain pattern="/foo/**" filters="mockFilter"/>
|
||||||
<sec:filter-chain pattern="/**" filters="sif,apf,mockFilter"/>
|
<sec:filter-chain pattern="/**" filters="
|
||||||
|
sif,
|
||||||
|
apf,
|
||||||
|
mockFilter"/>
|
||||||
<sec:filter-chain pattern="/some/other/path/**" filters="sif,mockFilter,mockFilter2"/>
|
<sec:filter-chain pattern="/some/other/path/**" filters="sif,mockFilter,mockFilter2"/>
|
||||||
</sec:filter-chain-map>
|
</sec:filter-chain-map>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
Loading…
Reference in New Issue