Author: markt
Date: Thu Jun 20 14:24:34 2013
New Revision: 1495015

URL: http://svn.apache.org/r1495015
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53665
Document when a javax.mail.Authenticator is configured.

Modified:
    tomcat/trunk/webapps/docs/jndi-resources-howto.xml

Modified: tomcat/trunk/webapps/docs/jndi-resources-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jndi-resources-howto.xml?rev=1495015&r1=1495014&r2=1495015&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/jndi-resources-howto.xml (original)
+++ tomcat/trunk/webapps/docs/jndi-resources-howto.xml Thu Jun 20 14:24:34 2013
@@ -509,8 +509,13 @@ Transport.send(message);
     <code>javax.mail.Session.getInstance(java.util.Properties)</code> as part 
of
     the <code>java.util.Properties</code> collection. In addition to the
     properties defined in Annex A of the JavaMail specification, individual
-    providers may also support additional properties like 
<code>password</code>.
+    providers may also support additional properties.
     </p>
+    
+    <p>If the resource is configured with a <code>password</code> attribute and
+    either a <code>mail.smtp.user</code> or <code>mail.user</code> attribute
+    then Tomcat&apos;s resource factory will configure and add a
+    <code>javax.mail.Authenticator</code> to the mail session.</p>
 
     <h3>4.  Install the JavaMail libraries</h3>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to