Spring Security 3.0.5

I am returning from Spring Security 3.1.0.m1 to 3.0.5, but I am using security = "none" and not in the 3.0.5 schema. Does anyone know how I do the same in 3.0.5?

<http security="none" pattern="/javax.faces.resource/**" /> <http security="none" pattern="/services/rest-api/1.0/**" /> <http security="none" pattern="/preregistered/*" /> 
0
source share
2 answers

Use attribute filters = "none". Also see URL Capture Element

+2
source

You need to combine several <http> elements into one <http> element with several <intercept-url> elements. In addition, as Ritesh says, you will need to use the filters="none" attribute for each of these <intercept-url> elements, for example.

 <http ... > <intercept-url filters="none" pattern="/javax.faces.resource/**" /> <intercept-url filters="none" pattern="/services/rest-api/1.0/**" /> <intercept-url filters="none" pattern="/preregistered/*" /> <intercept-url pattern="... your other patterns..." access="..."/> ... </http> 

Hope this helps!

+3
source

All Articles