Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: MB-840
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Gary Tully
Reporter: Susan Javurek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FUSE Message Broker

Stomp message frames are logged by default containing the username and password

Created: 18/Mar/11 12:59 PM   Updated: 21/Mar/11 12:24 PM
Component/s: broker
Affects Version/s: 5.4.2-fuse-02-00
Fix Version/s: 5.5.0-fuse-00-00

External Issue URL: https://issues.apache.org/jira/browse/AMQ-3231


 Description  « Hide
Hi,

There's been a bit of work in this area as of late MB-824 and MB-833. All is good with these bugs, however, when a bad password is sent the activemq log prints the following warning messages:

22011-03-18 09:38:30,634 [38.171.43:40701] WARN TransportConnection - Failed to add Connection ID:gridmsg006.cern.ch-38456-1300437460886-2:3, reason: java.lang.SecurityException: User name or password is invalid.
2011-03-18 09:38:30,634 [38.171.43:40701] WARN ProtocolConverter - Exception occurred processing:
CONNECT
host:gridmsg006
accept-version:1.0,1.1
passcode:bar
login:foo

: java.lang.SecurityException: User name or password is invalid.
2011-03-18 09:38:30,636 [38.171.43:40701] INFO Transport - Transport failed: java.io.IOException: User name or password is invalid.

I was able to see this here starting a secure broker (same as MB-824) and using the STOMP example we ship with bum password.
Is it possible to star that out or make it configurable if it is printed. I tinkered around with the settings for:

log4j.logger.org.apache.activemq.transport.stomp=TRACE, stomp

But even on INFO this gets printed.

Thanks,

Susan



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Gary Tully added a comment - 21/Mar/11 12:24 PM
passcode now masked on trunk, will be in 5.5