You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/06/30 21:23:15 UTC
DO NOT REPLY [Bug 21197] New: -
SMTPAppender needs only one property but reads too many
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21197>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21197
SMTPAppender needs only one property but reads too many
Summary: SMTPAppender needs only one property but reads too many
Product: Log4j
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Appender
AssignedTo: log4j-dev@jakarta.apache.org
ReportedBy: pqin@shareowner.com
SMTPAppender reads all of the system properties in method activateOptions in
order to setup mail service. This is not necessary because only property
mail.smtp.host is required.
There is a potential security issue when Java Security Manager is enabled. In
policy file, the specific codeBase has to be granted PropertyPermission of read
and write for all system properties.
This bug was found when starting Tomcat with -security.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org