Bug 53664 - Minor JNDI Howto document enhancement concerning mail properties
Minor JNDI Howto document enhancement concerning mail properties
Status: RESOLVED FIXED
Product: Tomcat 6
Classification: Unclassified
Component: Documentation
6.0.35
PC Linux
: P2 enhancement (vote)
: default
Assigned To: Tomcat Developers Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-08-06 20:03 UTC by Mark Eggers
Modified: 2012-08-09 16:42 UTC (History)
0 users



Attachments
SVN diff against current Tomcat 6 branch (1.06 KB, patch)
2012-08-06 20:03 UTC, Mark Eggers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.