Author: fschumacher
Date: Sun Jun 12 12:57:14 2016
New Revision: 1747993
URL: http://svn.apache.org/viewvc?rev=1747993&view=rev
Log:
Remove 'digest' attribute in realm-docs and mention CredentialHandler where
needed.
Modified:
tomcat/trunk/webapps/docs/config/realm.xml
Modified: tomcat/trunk/webapps/docs/config/realm.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/realm.xml?rev=1747993&r1=1747992&r2=1747993&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/config/realm.xml (original)
+++ tomcat/trunk/webapps/docs/config/realm.xml Sun Jun 12 12:57:14 2016
@@ -139,21 +139,6 @@
establishing a database connection.</p>
</attribute>
- <attribute name="digest" required="false">
- <p>The name of the <code>MessageDigest</code> algorithm used
- to encode user passwords stored in the database. If not specified,
- user passwords are assumed to be stored in clear-text.</p>
- <p>This attribute is deprecated. Set the algorithm on a nested
- <strong>CredentialHandler</strong> element instead.</p>
- </attribute>
-
- <attribute name="digestEncoding" required="false">
- <p>The charset for encoding digests. If not specified, the platform
- default will be used.</p>
- <p>This attribute is deprecated. Set the encoding on a nested
- <strong>CredentialHandler</strong> element instead.</p>
- </attribute>
-
<attribute name="driverName" required="true">
<p>Fully qualified Java class name of the JDBC driver to be
used to connect to the authentication database.</p>
@@ -175,8 +160,8 @@
<attribute name="userCredCol" required="true">
<p>Name of the column, in the "users" table, which contains
- the user's credentials (i.e. password). If a value for the
- <code>digest</code> attribute is specified, this component
+ the user's credentials (i.e. password). If a
+ <code>CredentialHandler</code> is specified, this component
will assume that the passwords have been encoded with the
specified algorithm. Otherwise, they will be assumed to be
in clear text.</p>
@@ -265,14 +250,6 @@
<p>The name of the JNDI JDBC DataSource for this Realm.</p>
</attribute>
- <attribute name="digest" required="false">
- <p>The name of the <code>MessageDigest</code> algorithm used
- to encode user passwords stored in the database. If not specified,
- user passwords are assumed to be stored in clear-text.</p>
- <p>This attribute is deprecated. Set the algorithm on a nested
- <strong>CredentialHandler</strong> element instead.</p>
- </attribute>
-
<attribute name="localDataSource" required="false">
<p>When the realm is nested inside a Context element, this allows the
realm to use a DataSource defined for the Context rather than a global
@@ -296,8 +273,8 @@
<attribute name="userCredCol" required="true">
<p>Name of the column, in the "users" table, which contains
- the user's credentials (i.e. password). If a value for the
- <code>digest</code> attribute is specified, this component
+ the user's credentials (i.e. password). If a
+ <code>CredentialHandler</code> is specified, this component
will assume that the passwords have been encoded with the
specified algorithm. Otherwise, they will be assumed to be
in clear text.</p>
@@ -464,17 +441,6 @@
"finding" and "searching". If not specified, "always" is used.</p>
</attribute>
- <attribute name="digest" required="false">
- <p>The digest algorithm to apply to the plaintext password offered
- by the user before comparing it with the value retrieved from the
- directory. Valid values are those accepted for the algorithm name
- by the <code>java.security.MessageDigest</code> class. If not
- specified the plaintext password is assumed to be retrieved. Not
- required unless <code>userPassword</code> is specified</p>
- <p>This attribute is deprecated. Set the algorithm on a nested
- <strong>CredentialHandler</strong> element instead.</p>
- </attribute>
-
<attribute name="hostnameVerifierClassName" required="false">
<p>The name of the class to use for hostname verification when
using StartTLS for securing the connection to the ldap server.
@@ -811,15 +777,6 @@
one of those roles.</p>
</attribute>
- <attribute name="digest" required="false">
- <p>The digest algorithm used to store passwords in non-plaintext
- formats. Valid values are those accepted for the algorithm name by the
- <code>java.security.MessageDigest</code> class. If not specified,
- passwords are stored in clear text.</p>
- <p>This attribute is deprecated. Set the algorithm on a nested
- <strong>CredentialHandler</strong> element instead.</p>
- </attribute>
-
<attribute name="pathname" required="false">
<p>URL, absolute path or relative path (to $CATALINA_BASE) for the XML
file containing our user information. See below for details on the
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]