Author: kkolinko
Date: Sun Apr 27 23:44:03 2014
New Revision: 1590526
URL: http://svn.apache.org/r1590526
Log:
Merged r1590479 from tomcat/trunk:
Improving valves documentation.
Move valves implementing an Authenticator into new section "Authentication".
Modified:
tomcat/tc7.0.x/trunk/ (props changed)
tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml
Propchange: tomcat/tc7.0.x/trunk/
------------------------------------------------------------------------------
Merged /tomcat/trunk:r1590479
Modified: tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml?rev=1590526&r1=1590525&r2=1590526&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/config/valve.xml Sun Apr 27 23:44:03 2014
@@ -792,54 +792,6 @@
</section>
-<section name="Error Report Valve">
-
- <subsection name="Introduction">
-
- <p>The <strong>Error Report Valve</strong> is a simple error handler
- for HTTP status codes that will generate and return HTML error pages.</p>
-
- <p><strong>NOTE:</strong> Disabling both showServerInfo and showReport will
- only return the HTTP status code and remove all CSS.</p>
-
- </subsection>
-
- <subsection name="Attributes">
-
- <p>The <strong>Error Report Valve</strong> supports the following
- configuration attributes:</p>
-
- <attributes>
-
- <attribute name="className" required="true">
- <p>Java class name of the implementation to use. This MUST be set to
- <strong>org.apache.catalina.valves.ErrorReportValve</strong> to use the
- default error report valve.</p>
- </attribute>
-
- <attribute name="showReport" required="false">
- <p>Flag to determine if the error report is presented when an error
- occurs. If set to <code>false</code>, then the error report is not
in
- the HTML response.
- Default value: <code>true</code>
- </p>
- </attribute>
-
- <attribute name="showServerInfo" required="false">
- <p>Flag to determine if server information is presented when an error
- occurs. If set to <code>false</code>, then the server version is not
- returned in the HTML response.
- Default value: <code>true</code>
- </p>
- </attribute>
-
- </attributes>
-
- </subsection>
-
-</section>
-
-
<section name="Single Sign On Valve">
<subsection name="Introduction">
@@ -889,7 +841,12 @@
</section>
-<section name="Basic Authenticator Valve">
+<section name="Authentication">
+
+<p>The valves in this section implement
+<strong>org.apache.catalina.Authenticator</strong> interface.</p>
+
+<subsection name="Basic Authenticator Valve">
<subsection name="Introduction">
@@ -989,10 +946,10 @@
</subsection>
-</section>
+</subsection>
-<section name="Digest Authenticator Valve">
+<subsection name="Digest Authenticator Valve">
<subsection name="Introduction">
@@ -1135,10 +1092,10 @@
</subsection>
-</section>
+</subsection>
-<section name="Form Authenticator Valve">
+<subsection name="Form Authenticator Valve">
<subsection name="Introduction">
@@ -1240,10 +1197,10 @@
</subsection>
-</section>
+</subsection>
-<section name="SSL Authenticator Valve">
+<subsection name="SSL Authenticator Valve">
<subsection name="Introduction">
@@ -1332,10 +1289,10 @@
</subsection>
-</section>
+</subsection>
-<section name="SPNEGO Valve">
+<subsection name="SPNEGO Valve">
<subsection name="Introduction">
@@ -1471,6 +1428,57 @@
</subsection>
+</subsection>
+
+
+</section>
+
+
+<section name="Error Report Valve">
+
+ <subsection name="Introduction">
+
+ <p>The <strong>Error Report Valve</strong> is a simple error handler
+ for HTTP status codes that will generate and return HTML error pages.</p>
+
+ <p><strong>NOTE:</strong> Disabling both showServerInfo and showReport will
+ only return the HTTP status code and remove all CSS.</p>
+
+ </subsection>
+
+ <subsection name="Attributes">
+
+ <p>The <strong>Error Report Valve</strong> supports the following
+ configuration attributes:</p>
+
+ <attributes>
+
+ <attribute name="className" required="true">
+ <p>Java class name of the implementation to use. This MUST be set to
+ <strong>org.apache.catalina.valves.ErrorReportValve</strong> to use the
+ default error report valve.</p>
+ </attribute>
+
+ <attribute name="showReport" required="false">
+ <p>Flag to determine if the error report is presented when an error
+ occurs. If set to <code>false</code>, then the error report is not
in
+ the HTML response.
+ Default value: <code>true</code>
+ </p>
+ </attribute>
+
+ <attribute name="showServerInfo" required="false">
+ <p>Flag to determine if server information is presented when an error
+ occurs. If set to <code>false</code>, then the server version is not
+ returned in the HTML response.
+ Default value: <code>true</code>
+ </p>
+ </attribute>
+
+ </attributes>
+
+ </subsection>
+
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]