You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/10/29 20:14:27 UTC
DO NOT REPLY [Bug 31972] New: -
PropertyHelper data members should be protected, not private
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31972>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31972
PropertyHelper data members should be protected, not private
Summary: PropertyHelper data members should be protected, not
private
Product: Ant
Version: 1.6.2
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: carej@us.ibm.com
I have a requirement to obsfucate passwords from being printed into debug logs.
I am trying to use the ant.PropertyHelper reference to use a custom
PropertyHelper to satisfy this requirement by overriding the various
"set*Property" methods & checking if the property name matches a certain regex.
If the name matches the regex then the actual password value is not logged.
Unfortunately the maps used to store the properties in PropertyHelper are all
marked private, so my PropertyHelper extension class can not access them. It
would be helpful if these members (e.g. "properties", "userProperties" and
"inheritedProperties") could be made protected rather than private.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org