浏览代码

SEC-2282: Polish CSRF Documentation

Explain why (passivity) XML Namespace doesn't enable csrf protection by
default.
Rob Winch 12 年之前
父节点
当前提交
9bb283044f
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      docs/manual/src/docbook/csrf.xml

+ 4 - 0
docs/manual/src/docbook/csrf.xml

@@ -136,6 +136,10 @@ amount=100.00&routingNumber=1234&account=9876&_csrf=<secure-random>
                     differently.</para>
                 <para>For passivity reasons, if you are using the XML configuration, CSRF protection must be explicitly enabled using the <link linkend="nsa-csrf">&lt;csrf&gt;</link> element. Refer to the
                     <link linkend="nsa-csrf">&lt;csrf&gt;</link> element's documentation for additional customizations.</para>
+                    <note>
+                        <para><link xlink:href="https://jira.springsource.org/browse/SEC-2347">SEC-2347</link> is logged to ensure Spring
+                            Security 4.x's XML namespace configuration will enable CSRF protection by default.</para>
+                    </note>
                 <programlisting language="xml"><![CDATA[<http>
     <!-- ... -->
     <csrf />