Browse Source

SEC-347: Describe requirements for login page when using secure channels.

Ben Alex 19 năm trước cách đây
mục cha
commit
ef6d6cd03e
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      doc/docbook/acegi.xml

+ 9 - 0
doc/docbook/acegi.xml

@@ -1307,6 +1307,15 @@ if (obj instanceof UserDetails) {
         wired up by default to many Acegi Security beans. Please refer to the
         JavaDocs for <literal>PortResolverImpl</literal> for further
         details.</para>
+
+        <para>You should note that using a secure channel is recommended if
+        usernames and passwords are to be kept secure during the login
+        process. If you do decide to use
+        <literal>ChannelProcessingFilter</literal> with form-based login,
+        please ensure that your login page is set to
+        <literal>REQUIRES_SECURE_CHANNEL</literal>, and that the
+        <literal>AuthenticationProcessingFilterEntryPoint.forceHttps</literal>
+        property is <literal>true</literal>.</para>
       </sect1>
 
       <sect1 id="channel-security-conclusion">