[
https://issues.apache.org/jira/browse/IGNITE-25200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Valuyskiy updated IGNITE-25200:
------------------------------------
Description:
When processing {{char[]}} passwords in
{*}GridCommandHandlerFactoryAbstractTest$JmxCommandHandler#toString{*}, the
conversion to {{String}} incorrectly formats the array elements with comma
separators.
*Current behavior:*
For a password like {{{}"Password"{}}}, the resulting {{String}} becomes
{{{}"P, a, s, s, w, o, r, d"{}}}.
*Expected behavior:*
The {{char[]}} should be converted to a plain {{String}} without delimiters
(e.g., {{{}"Password"{}}}).
was:
When processing {{char[]}} passwords in
{*}GridCommandHandlerFactoryAbstractTest$JmxCommandHandler#toString{*}, the
conversion to {{String}} incorrectly formats the array elements with comma
separators.
*Current behavior:*
For a password like {{{}"Password"{}}}, the resulting {{String}} becomes
{{{}"P, a, s, s, w, o, r, d"{}}}.
*Expected behavior:*
The {{char[]}} should be converted to a plain {{String}} without delimiters
(e.g., {{{}"Password"{}}}).
*Impact:*
This bug alters the actual password entered by the user, leading to
authentication failures or security issues.
> Fix incorrect char[] to String conversion in
> GridCommandHandlerFactoryAbstractTest$JmxCommandHandler#toString (password
> handling)
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-25200
> URL: https://issues.apache.org/jira/browse/IGNITE-25200
> Project: Ignite
> Issue Type: Task
> Reporter: Oleg Valuyskiy
> Assignee: Oleg Valuyskiy
> Priority: Minor
> Labels: ise
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When processing {{char[]}} passwords in
> {*}GridCommandHandlerFactoryAbstractTest$JmxCommandHandler#toString{*}, the
> conversion to {{String}} incorrectly formats the array elements with comma
> separators.
> *Current behavior:*
> For a password like {{{}"Password"{}}}, the resulting {{String}} becomes
> {{{}"P, a, s, s, w, o, r, d"{}}}.
> *Expected behavior:*
> The {{char[]}} should be converted to a plain {{String}} without delimiters
> (e.g., {{{}"Password"{}}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)