Explorar o código

SEC-2230: Update contacts sample to use <headers> with no child elements

Rob Winch %!s(int64=12) %!d(string=hai) anos
pai
achega
0bc08f8a23

+ 1 - 6
samples/contacts/src/main/resources/applicationContext-security.xml

@@ -30,12 +30,7 @@
         <http-basic/>
         <logout logout-success-url="/index.jsp"/>
         <remember-me />
-        <headers>
-            <xss-protection />
-            <frame-options policy="DENY" />
-            <content-type-options/>
-            <header name="foo" value="bar"/>
-        </headers>
+        <headers/>
         <custom-filter ref="switchUserProcessingFilter" position="SWITCH_USER_FILTER"/>
     </http>