You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/08/06 06:27:00 UTC
[jira] [Commented] (KARAF-5287) Provide a way to hide passwords in
shell
[ https://issues.apache.org/jira/browse/KARAF-5287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115664#comment-16115664 ]
Jean-Baptiste Onofré commented on KARAF-5287:
---------------------------------------------
Now, {{jaas:user-add}} command uses regular {{Argument}} for the password. I think the most elegant way would be to add an option to the {{Argument}} annotation to inform the shell console that the argument should not be displayed.
> Provide a way to hide passwords in shell
> ----------------------------------------
>
> Key: KARAF-5287
> URL: https://issues.apache.org/jira/browse/KARAF-5287
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-shell
> Reporter: John Poth
>
> It'd be nice to have a way of hiding passwords when typing commands in the shell. So for example:
> {code}
> jaas:user-add jpoth mypassword
> {code}
> would be displayed as
> {code}
> jaas:user-add jpoth **********
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)