You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2016/06/14 09:58:01 UTC

[jira] [Created] (ARTEMIS-567) broker logs erroneous 'user name is null' message during successful AMQP connection

Robbie Gemmell created ARTEMIS-567:
--------------------------------------

             Summary: broker logs erroneous 'user name is null'  message during successful AMQP connection
                 Key: ARTEMIS-567
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-567
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: AMQP
    Affects Versions: 1.3.0
            Reporter: Robbie Gemmell
            Priority: Minor


I noticed testing the 1.3.0 RC that upon every successful login with an AMQP 1.0 client, where the client has actually provided a valid user/pass, the broker logs an erroneous info message that it couldnt validate the user because the user name is null:
{noformat}
10:29:49,470 INFO  [org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager] Couldn't validate user: user name is null
{noformat}

In contrast, then actually trying to log in with an incorrect user name (in this case called "wrong") gives both the same erroneous message about null user and then another message that the user didnt exist:
{noformat}
10:38:33,160 INFO  [org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager] Couldn't validate user: user name is null
10:38:33,256 INFO  [org.apache.activemq.artemis.spi.core.security.ActiveMQJAASSecurityManager] Couldn't validate user: User does exist
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)