Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-467

Strange behaviour on connect with invalid credentials

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.2
    • Fix Version/s: 1.6.3, 1.7.0
    • Component/s: ActiveMQ, NMS
    • Labels:

      Description

      When I try to connect AMQ with invalid credentials I get an EndOfStreamException (Unable to read beyond the end of the stream) instead of an NMSSecurityException (BrokerError: java.lang.SecurityException: User name [***] or password is invalid).

      With the changes for AMQNET-360 the behaviour in the ResponseCorrelator has been changed. With the removing of the exception handling the ExceptionResponse with the Security-Exception will not be handled any more.

      Simple reproduction: TestRestartInvalidCredentialsWithFailover doesn't work

        Attachments

          Activity

            People

            • Assignee:
              tabish Timothy A. Bish
              Reporter:
              cmcmk Markus Karolus
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: