Bug 50526

Summary: Clarify that JavaMail Session JNDI resource factory can accept any configuration attribute from JavaMail
Product: Tomcat 7 Reporter: Christopher Schultz <chris>
Component: DocumentationAssignee: Tomcat Developers Mailing List <dev>
Status: CLOSED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Christopher Schultz 2010-12-28 22:42:38 UTC
From the examples currently shown in jndi-resources-howto.html, one might assume that adding "foo.bar.baz" will be added to the java.util.Properties object passed-into the Session.getInstance method, but it is not entirely clear.

It would be nice to explicitly state that arbitrary <Resource> attributes will be converted into Session configuration properties.

Also, there are certain properties that are outside of the JavaMail spec, such as "password".
Comment 1 Mark Thomas 2011-01-20 14:05:38 UTC
Fixed in 7.0.x and will be included in 7.07. onwards.