[ 
https://issues.apache.org/jira/browse/ARTEMIS-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martyn Taylor closed ARTEMIS-942.
---------------------------------

> 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
>            Assignee: Justin Bertram
>
> 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)

Reply via email to