[
https://issues.apache.org/jira/browse/KARAF-6769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17614750#comment-17614750
]
ASF subversion and git services commented on KARAF-6769:
--------------------------------------------------------
Commit 3a4f4c24431dc02dab9d162df6d31d0bede55646 in karaf's branch
refs/heads/karaf-4.3.x from Aleksy Wróblewski
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=3a4f4c2443 ]
[KARAF-6769] - fix a bug where command options are not censored when using
their aliases
(cherry picked from commit ff4fb20b859c853ccf3db299775799a9d79eb16d)
> 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)