Author: markt Date: Thu Jun 20 14:26:40 2013 New Revision: 1495016 URL: http://svn.apache.org/r1495016 Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=53665 Document when a javax.mail.Authenticator is configured.
Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml tomcat/tc7.0.x/trunk/webapps/docs/jndi-resources-howto.xml Propchange: tomcat/tc7.0.x/trunk/ ------------------------------------------------------------------------------ Merged /tomcat/trunk:r1495015 Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1495016&r1=1495015&r2=1495016&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Thu Jun 20 14:26:40 2013 @@ -103,6 +103,11 @@ Complete the document for <code>MessageDispatch15Interceptor</code>. (kfujino) </add> + <add> + <bug>53655</bug>: Document the circumstances under which Tomcat will add + a <code>javax.mail.Authenticator</code> to mail sessions created via a + JNDI resource. (markt) + </add> </changelog> </subsection> <subsection name="Other"> Modified: tomcat/tc7.0.x/trunk/webapps/docs/jndi-resources-howto.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/jndi-resources-howto.xml?rev=1495016&r1=1495015&r2=1495016&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/jndi-resources-howto.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/jndi-resources-howto.xml Thu Jun 20 14:26:40 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'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