Bug 53664

Summary: Minor JNDI Howto document enhancement concerning mail properties
Product: Tomcat 6 Reporter: Mark Eggers <mdeggers>
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Severity: enhancement    
Priority: P2    
Version: 6.0.35   
Target Milestone: default   
Hardware: PC   
OS: Linux   
Attachments: SVN diff against current Tomcat 6 branch

Description Mark Eggers 2012-08-06 20:03:00 UTC
Created attachment 29174 [details]
SVN diff against current Tomcat 6 branch

When configuring mail sessions via JNDI and the Resource element, there is no mention of a password attribute. This attribute is useful if you wish Tomcat to manage the remote connection. One such use case is where the source code to the web application is not available, but requires authenticated connection to an external mail server.

Tomcat has this capability in the default org.apache.naming.factory.MailSessionFactory class, but it's not documented.

The proposed patch amends the jndi-howto document with this information.
Comment 1 Christopher Schultz 2012-08-09 16:42:11 UTC
Thanks for the patch.
Fixed in 6.0.x trunk. Will be included in 6.0.36.