Author: kkolinko
Date: Tue Jan 18 17:41:46 2011
New Revision: 1060489
URL: http://svn.apache.org/viewvc?rev=1060489&view=rev
Log:
Documentation fixes:
there is no property "debug" on the Context, nor on several other classes
(realms, authenticators)
CTR: docs
Modified:
tomcat/tc6.0.x/trunk/webapps/docs/config/host.xml
tomcat/tc6.0.x/trunk/webapps/docs/html-manager-howto.xml
tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml
tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml
tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml
Modified: tomcat/tc6.0.x/trunk/webapps/docs/config/host.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/config/host.xml?rev=1060489&r1=1060488&r2=1060489&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/config/host.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/config/host.xml Tue Jan 18 17:41:46 2011
@@ -524,8 +524,7 @@
<source>
<Host name="localhost" ...>
...
- <Valve className="org.apache.catalina.authenticator.SingleSignOn"
- debug="0"/>
+ <Valve className="org.apache.catalina.authenticator.SingleSignOn"/>
...
</Host>
</source>
Modified: tomcat/tc6.0.x/trunk/webapps/docs/html-manager-howto.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/html-manager-howto.xml?rev=1060489&r1=1060488&r2=1060489&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/html-manager-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/html-manager-howto.xml Tue Jan 18
17:41:46 2011
@@ -387,8 +387,7 @@ web application Context just as if it we
Tomcat <code>server.xml</code> configuration file. Here is an
example for Tomcat running on Windows:</p>
<source>
-<Context path="/foobar" docBase="C:\path\to\application\foobar"
- debug="0">
+<Context path="/foobar" docBase="C:\path\to\application\foobar">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
Modified: tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml?rev=1060489&r1=1060488&r2=1060489&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml
(original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/jndi-datasource-examples-howto.xml Tue
Jan 18 17:41:46 2011
@@ -207,7 +207,7 @@ resource to your <a href="config/context
<source>
<Context path="/DBTest" docBase="DBTest"
- debug="5" reloadable="true" crossContext="true">
+ reloadable="true" crossContext="true">
<!-- maxActive: Maximum number of dB connections in pool. Make sure you
configure your mysqld max_connections large enough to handle
@@ -412,7 +412,7 @@ The Context element should look somethin
<source>
<Context path="/someApp" docBase="someApp"
- crossContext="true" reloadable="true" debug="1">
+ crossContext="true" reloadable="true">
<Resource name="jdbc/postgres" auth="Container"
type="javax.sql.DataSource" driverClassName="org.postgresql.Driver"
Modified: tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml?rev=1060489&r1=1060488&r2=1060489&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/manager-howto.xml Tue Jan 18 17:41:46 2011
@@ -72,7 +72,7 @@ Manager web application <code>Context</c
<code>$CATALINA_BASE/conf/[enginename]/[hostname]</code> folder. Here is an
example:</p>
<pre>
-<Context path="/manager" debug="0" privileged="true"
+<Context path="/manager" privileged="true"
docBase="/usr/local/tomcat6/webapps/manager">
</Context>
</pre>
@@ -395,8 +395,7 @@ web application Context just as if it we
Tomcat <code>server.xml</code> configuration file. Here is an
example:</p>
<source>
-<Context path="/foobar" docBase="/path/to/application/foobar"
- debug="0">
+<Context path="/foobar" docBase="/path/to/application/foobar">
<!-- Link to the user database we will get roles from -->
<ResourceLink name="users" global="UserDatabase"
Modified: tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml?rev=1060489&r1=1060488&r2=1060489&view=diff
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/realm-howto.xml Tue Jan 18 17:41:46 2011
@@ -358,7 +358,7 @@ default <code>$CATALINA_BASE/conf/server
for using a MySQL database called "authority", configured with the tables
described above, and accessed with username "dbuser" and password "dbpass":</p>
<source>
-<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
+<Realm className="org.apache.catalina.realm.JDBCRealm"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority?user=dbuser&amp;password=dbpass"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
@@ -470,7 +470,7 @@ create table user_roles (
with the tables described above, and accessed with the JNDI JDBC DataSource
with
name "java:/comp/env/jdbc/authority".</p>
<source>
-<Realm className="org.apache.catalina.realm.DataSourceRealm" debug="99"
+<Realm className="org.apache.catalina.realm.DataSourceRealm"
dataSourceName="jdbc/authority"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name"/>
@@ -787,7 +787,7 @@ application and that an anonymous connec
the directory and retrieve role information:</p>
<source>
-<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
+<Realm className="org.apache.catalina.realm.JNDIRealm"
connectionURL="ldap://localhost:389"
userPattern="uid={0},ou=people,dc=mycompany,dc=com"
roleBase="ou=groups,dc=mycompany,dc=com"
@@ -827,7 +827,7 @@ userPassword: janet
<p> This realm configuration would satisfy the new requirements:</p>
<source>
-<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
+<Realm className="org.apache.catalina.realm.JNDIRealm"
connectionURL="ldap://localhost:389"
userBase="ou=people,dc=mycompany,dc=com"
userSearch="(mail={0})"
@@ -852,7 +852,7 @@ the password from the directory and maki
realm, you might use a realm configuration like this:</p>
<source>
-<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
+<Realm className="org.apache.catalina.realm.JNDIRealm"
connectionName="cn=Manager,dc=mycompany,dc=com"
connectionPassword="secret"
connectionURL="ldap://localhost:389"
@@ -1087,11 +1087,10 @@ configuration documentation.</p>
<p>Here is an example of how your server.xml snippet should look.</p>
<source>
-<Realm className="org.apache.catalina.realm.JAASRealm"
- appName="MyFooRealm"
- userClassNames="org.foobar.realm.FooUser"
- roleClassNames="org.foobar.realm.FooRole"
- debug="99"/>
+<Realm className="org.apache.catalina.realm.JAASRealm"
+ appName="MyFooRealm"
+ userClassNames="org.foobar.realm.FooUser"
+ roleClassNames="org.foobar.realm.FooRole"/>
</source>
<p>It is the responsibility of your login module to create and save User and
@@ -1168,7 +1167,7 @@ UserDatabase Realm and a DataSource Real
<Realm className="org.apache.catalina.realm.CombinedRealm" >
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
- <Realm className="org.apache.catalina.realm.DataSourceRealm" debug="99"
+ <Realm className="org.apache.catalina.realm.DataSourceRealm"
dataSourceName="jdbc/authority"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]