Преглед на файлове

Exclude static resources from filter chain in tutorial sample.

Luke Taylor преди 14 години
родител
ревизия
9d66e1fac3
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security.xml

+ 1 - 0
samples/tutorial/src/main/webapp/WEB-INF/applicationContext-security.xml

@@ -15,6 +15,7 @@
 
     <global-method-security pre-post-annotations="enabled" />
 
+    <http pattern="/static/**" security="none"/>
     <http pattern="/loggedout.jsp" security="none"/>
 
     <http use-expressions="true">