[
https://issues.apache.org/jira/browse/ARTEMIS-1074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15946308#comment-15946308
]
ASF GitHub Bot commented on ARTEMIS-1074:
-----------------------------------------
GitHub user roelens8 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1148
[1.x] ARTEMIS-1074 Acceptors/Connectors now start up when configured to use
SSL and a password codec
(cherry picked from commit 3ceb3328664e3dfa1dbeb24bad45115e2f1970c4)
Refer to https://github.com/apache/activemq-artemis/pull/1139, for more
info.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/roelens8/activemq-artemis ARTEMIS-1074-1.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1148.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1148
----
commit 9330fc854687a0730dbceabcbc8afd6708acfd62
Author: Armand Roelens <[email protected]>
Date: 2017-03-27T21:59:02Z
ARTEMIS-1074 Acceptors/Connectors now start up when configured to use SSL
and a password codec
(cherry picked from commit 3ceb3328664e3dfa1dbeb24bad45115e2f1970c4)
----
> Acceptors and Connectors that enable SSL don’t start up while using a
> password codec
> ------------------------------------------------------------------------------------
>
> Key: ARTEMIS-1074
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1074
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.5.3, 2.0.0
> Reporter: Armand Roelens
> Priority: Critical
> Labels: security
> Attachments: exception.png
>
>
> When configuring acceptors/connectors in the artemis.xml to use SSL and a
> password codec for password encryption (masking-password is enabled to true),
> the following exception (attached to the ticket) occurs preventing the
> acceptors/connectors from starting up.
> The getPasswordProperty() method in the ConfigurationHelper expects both the
> masking password property and the password codec property as input arguments,
> however the masking password property is being passed in place of the
> password codec property (thus being passed in twice) which will cause an
> exception to occur.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)