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 2022/10/09 05:16:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-6769:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> 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.20.10#820010)