Env: Activemq 5.0.0, JDK1.6
I am using the SimpleAuthenticationPlugin as follows.
<plugins>
<simpleAuthenticationPlugin>
<users>
<authenticationUser
username="someuser"
password="somepassword"
groups="users"
/>
</users>
</simpleAuthenticationPlugin>
</plugins>
Problem:
When an authentication fails, the logs do not identify which client failed
authentication.
It also does not identify the username that was provided (I understand
password
cannot/should not be logged). This makes it very difficult to troubleshoot
authentication
failures. I have tried to increase the log verbosity of the plugin; no avail.
What is the alternative?
Question:
Is the simpleAuthenticationPlugin used to authentication clients (over
transportConnector)
as well as remote brokers (over networkConnector)?
Regards
/Ur
Sample Log:
org.apache.activemq.transport.TransportDisposedIOException: Transport
disposed.
at org.apache.activemq.transport.vm.VMTransport.oneway(VMTransport.java:
76)
at org.apache.activemq.transport.MutexTransport.oneway(MutexTransport.ja
va:40)
at org.apache.activemq.transport.ResponseCorrelator.oneway(ResponseCorre
lator.java:59)
at org.apache.activemq.network.DemandForwardingBridgeSupport.serviceRemo
teCommand(DemandForwardingBridgeSupport.java:392)
at org.apache.activemq.network.DemandForwardingBridgeSupport$2.onCommand
(DemandForwardingBridgeSupport.java:149)
at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCo
rrelator.java:100)
at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilt
er.java:67)
at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireForm
atNegotiator.java:134)
at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityM
onitor.java:138)
at org.apache.activemq.transport.TransportSupport.doConsume(TransportSup
port.java:83)
at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.jav
a:185)
at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:
172)
at java.lang.Thread.run(Thread.java:619)