You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/02/06 18:32:41 UTC

[jira] [Commented] (ARTEMIS-942) Server should log user name for failed authentication

    [ https://issues.apache.org/jira/browse/ARTEMIS-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854499#comment-15854499 ] 

ASF GitHub Bot commented on ARTEMIS-942:
----------------------------------------

GitHub user treblereel opened a pull request:

    https://github.com/apache/activemq-artemis/pull/989

    ARTEMIS-942 Server should log user name for failed authentication

    JIRA: https://issues.apache.org/jira/browse/ARTEMIS-942

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/treblereel/activemq-artemis-wildfly ARTEMIS-942

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/989.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 #989
    
----
commit 979cc87e0f65475204f86e76fe0a2c5c92930f53
Author: Dmitrii Tikhomirov <dt...@redhat.com>
Date:   2017-02-06T18:10:13Z

    ARTEMIS-942 Server should log user name for failed authentication

----


> Server should log user name for failed authentication
> -----------------------------------------------------
>
>                 Key: ARTEMIS-942
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-942
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.5.1
>            Reporter: Dmitrii Tikhomirov
>
> If client fails to authenticate then server should log user name for failed authentication. At this moment server logs only:
> {code}
> 13:23:38,713 ERROR [org.apache.activemq.artemis.core.server] (default I/O-6) AMQ224018: Failed to create session: ActiveMQSecurityException[errorType=SECURITY_EXCEPTION message=AMQ119031: Unable to validate user]
> 	at org.apache.activemq.artemis.core.security.impl.SecurityStoreImpl.authenticate(SecurityStoreImpl.java:144)
> 	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.createSession(ActiveMQServerImpl.java:1205)
> 	at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQPacketHandler.handleCreateSession(ActiveMQPacketHandler.java:156)
> 	at org.apache.activemq.artemis.core.protocol.core.impl.ActiveMQPacketHandler.handlePacket(ActiveMQPacketHandler.java:81)
> 	at org.apache.activemq.artemis.core.protocol.core.impl.ChannelImpl.handlePacket(ChannelImpl.java:624)
> 	at org.apache.activemq.artemis.core.protocol.core.impl.RemotingConnectionImpl.doBufferReceived(RemotingConnectionImpl.java:373)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)