[ 
https://issues.apache.org/jira/browse/VFS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yves Schumann updated VFS-501:
------------------------------

    Attachment: HidePassword.patch

Patch to hide used passwords from log/console output

> Hide passwords from log/console output
> --------------------------------------
>
>                 Key: VFS-501
>                 URL: https://issues.apache.org/jira/browse/VFS-501
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Yves Schumann
>         Attachments: HidePassword.patch
>
>
> If files should be copied to a smb-share, the connection string has the form 
> smb://<domain>\<username>:<password>@<fqdn>/<path...>. The bad thing is that 
> the used password is written to the log output which is a NoGo for production 
> use.
> The attached patch modifies CopyTask, DeleteTask, MoveTask and SyncTask by 
> filtering out all characters between ":" and "@" and replaces them with 
> asterisks on the log output.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to