소스 검색

SEC-2131: Update doc to state session authentication sends 401 if no page

Rob Winch 12 년 전
부모
커밋
18bd82e7d4

+ 1 - 1
config/src/main/resources/org/springframework/security/config/spring-security-3.1.rnc

@@ -524,7 +524,7 @@ session-management.attlist &=
     ## Allows injection of the SessionAuthenticationStrategy instance used by the SessionManagementFilter
     ## Allows injection of the SessionAuthenticationStrategy instance used by the SessionManagementFilter
     attribute session-authentication-strategy-ref {xsd:token}?
     attribute session-authentication-strategy-ref {xsd:token}?
 session-management.attlist &=
 session-management.attlist &=
-    ## Defines the URL of the error page which should be shown when the SessionAuthenticationStrategy raises an exception. If not set, an unauthorized (402) error code will be returned to the client. Note that this attribute doesn't apply if the error occurs during a form-based login, where the URL for authentication failure will take precedence.
+    ## Defines the URL of the error page which should be shown when the SessionAuthenticationStrategy raises an exception. If not set, an unauthorized (401) error code will be returned to the client. Note that this attribute doesn't apply if the error occurs during a form-based login, where the URL for authentication failure will take precedence.
     attribute session-authentication-error-url {xsd:token}?
     attribute session-authentication-error-url {xsd:token}?
 
 
 
 

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 759 - 536
config/src/main/resources/org/springframework/security/config/spring-security-3.1.xsd


+ 1 - 1
config/src/main/resources/org/springframework/security/config/spring-security-3.2.rnc

@@ -524,7 +524,7 @@ session-management.attlist &=
     ## Allows injection of the SessionAuthenticationStrategy instance used by the SessionManagementFilter
     ## Allows injection of the SessionAuthenticationStrategy instance used by the SessionManagementFilter
     attribute session-authentication-strategy-ref {xsd:token}?
     attribute session-authentication-strategy-ref {xsd:token}?
 session-management.attlist &=
 session-management.attlist &=
-    ## Defines the URL of the error page which should be shown when the SessionAuthenticationStrategy raises an exception. If not set, an unauthorized (402) error code will be returned to the client. Note that this attribute doesn't apply if the error occurs during a form-based login, where the URL for authentication failure will take precedence.
+    ## Defines the URL of the error page which should be shown when the SessionAuthenticationStrategy raises an exception. If not set, an unauthorized (401) error code will be returned to the client. Note that this attribute doesn't apply if the error occurs during a form-based login, where the URL for authentication failure will take precedence.
     attribute session-authentication-error-url {xsd:token}?
     attribute session-authentication-error-url {xsd:token}?
 
 
 
 

+ 1 - 1
config/src/main/resources/org/springframework/security/config/spring-security-3.2.xsd

@@ -1702,7 +1702,7 @@
       <xs:attribute name="session-authentication-error-url" type="xs:token">
       <xs:attribute name="session-authentication-error-url" type="xs:token">
          <xs:annotation>
          <xs:annotation>
             <xs:documentation>Defines the URL of the error page which should be shown when the
             <xs:documentation>Defines the URL of the error page which should be shown when the
-                SessionAuthenticationStrategy raises an exception. If not set, an unauthorized (402) error
+                SessionAuthenticationStrategy raises an exception. If not set, an unauthorized (401) error
                 code will be returned to the client. Note that this attribute doesn't apply if the error
                 code will be returned to the client. Note that this attribute doesn't apply if the error
                 occurs during a form-based login, where the URL for authentication failure will take
                 occurs during a form-based login, where the URL for authentication failure will take
                 precedence.
                 precedence.

+ 1 - 1
docs/manual/src/docbook/appendix-namespace.xml

@@ -1200,7 +1200,7 @@
                 <section xml:id="nsa-session-management-session-authentication-error-url">
                 <section xml:id="nsa-session-management-session-authentication-error-url">
                     <title><literal>session-authentication-error-url</literal></title>
                     <title><literal>session-authentication-error-url</literal></title>
                     <para>Defines the URL of the error page which should be shown when the SessionAuthenticationStrategy
                     <para>Defines the URL of the error page which should be shown when the SessionAuthenticationStrategy
-                        raises an exception. If not set, an unauthorized (402) error code will be returned to the client.
+                        raises an exception. If not set, an unauthorized (401) error code will be returned to the client.
                         Note that this attribute doesn't apply if the error occurs during a form-based login, where the URL
                         Note that this attribute doesn't apply if the error occurs during a form-based login, where the URL
                         for authentication failure will take precedence.</para>
                         for authentication failure will take precedence.</para>
                 </section>
                 </section>

+ 1 - 1
docs/manual/src/docbook/namespace-config.xml

@@ -509,7 +509,7 @@
                     <literal>authentication-failure-url</literal> if form-based login is being used.
                     <literal>authentication-failure-url</literal> if form-based login is being used.
                     If the second authentication takes place through another non-interactive
                     If the second authentication takes place through another non-interactive
                     mechanism, such as <quote>remember-me</quote>, an <quote>unauthorized</quote>
                     mechanism, such as <quote>remember-me</quote>, an <quote>unauthorized</quote>
-                    (402) error will be sent to the client. If instead you want to use an error
+                    (401) error will be sent to the client. If instead you want to use an error
                     page, you can add the attribute
                     page, you can add the attribute
                     <literal>session-authentication-error-url</literal> to the
                     <literal>session-authentication-error-url</literal> to the
                     <literal>session-management</literal> element. </para>
                     <literal>session-management</literal> element. </para>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.