activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-3231) Stomp Frame should mask passcode header in toString output, so it does not pollute the log
Date Mon, 21 Mar 2011 12:19:05 GMT
Stomp Frame should mask passcode header in toString output, so it does not pollute the log
------------------------------------------------------------------------------------------

                 Key: AMQ-3231
                 URL: https://issues.apache.org/jira/browse/AMQ-3231
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Transport
    Affects Versions: 5.4.2
         Environment: STOMP
            Reporter: Gary Tully
            Assignee: Gary Tully
             Fix For: 5.5.0


Logging of stomp CONNECT frame includes the raw passcode. This should be masked with "****"
so instead of:{code}22011-03-18 09:38:30,634 [38.171.43:40701] WARN TransportConnection -
Failed to add Connection ID:xx.xx.38456-99-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:big77
accept-version:1.0,1.1
passcode:bar
login:foo{code} it should be:{code}22011-03-18 09:38:30,634 [38.171.43:40701] WARN TransportConnection
- Failed to add Connection ID:xx.xx.38456-99-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:big77
accept-version:1.0,1.1
passcode:*****
login:foo{code}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message