You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Oleg Valuyskiy (Jira)" <ji...@apache.org> on 2025/04/20 04:27:00 UTC

[jira] [Created] (IGNITE-25200) Fix incorrect char[] to String conversion in GridCommandHandlerFactoryAbstractTest$JmxCommandHandler#toString (password handling)

Oleg Valuyskiy created IGNITE-25200:
---------------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)