commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yves Schumann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-501) Hide passwords from log/console output
Date Fri, 06 Jun 2014 14:26:01 GMT

    [ https://issues.apache.org/jira/browse/VFS-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14019878#comment-14019878
] 

Yves Schumann commented on VFS-501:
-----------------------------------

Hi Gary,

one Task is missing (even on my initial patch): MkdirTask! ;-) 

> 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
>            Assignee: Gary Gregory
>             Fix For: 2.1
>
>         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.2#6252)

Mime
View raw message