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 2020/06/18 04:50:00 UTC

[jira] [Commented] (KARAF-6769) censor parameter does not work when using alias.

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

Jean-Baptiste Onofré commented on KARAF-6769:
---------------------------------------------

Thanks for the report, I will take a look.

> censor parameter does not work when using alias.
> ------------------------------------------------
>
>                 Key: KARAF-6769
>                 URL: https://issues.apache.org/jira/browse/KARAF-6769
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.2.8
>            Reporter: Venkatrangan Govindarajan
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> When using censor attribure for a karaf Option like below
>  
> {code:java}
> // code placeholder
>  @Option(name = "-aaaAdmin",
>             aliases = { "--aaaAdminName" },
>             description = "AAA admin username",
>             required = true,
>             censor = true,
>             multiValued = false)
>     private String userName;
> {code}
> When executing the command with --aaaAdminName does not censor the values. It works well when using -aaaAdmin.  
>  
> It should work with alias also.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)