Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-823

BackoffLimitedRetryHandler prints username and password involved in request

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.1
    • 1.9.0
    • None
    • None
    • Windows 7 (attempting to communicate to a devstack server on Ubuntu)

    Description

      When trying to communicate with a server that is offline, I will get an error that contains the username and password used in the request.

      OUTPUT
      ================================================

      2015-02-10 10:56:36.707 ERROR [Thread-5] o.j.h.h.BackoffLimitedRetryHandler Cannot retry after server error, command has exceeded retry limit 5: [method=org.jclouds.openstack.keystone.v2_0.AuthenticationApi.public abstract org.jclouds.openstack.keystone.v2_0.domain.Access org.jclouds.openstack.keystone.v2_0.AuthenticationApi.authenticateWithTenantNameAndCredentials(java.lang.String,org.jclouds.openstack.keystone.v2_0.domain.PasswordCredentials)[admin, PasswordCredentials

      {username=admin, password=openstack}

      ], request=POST http://xxxxxx:5000/v2.0/tokens HTTP/1.1]

      ================================================

      Ignasi Barrera recommended me to suggest a change. Here was his comment from stackoverflow

      "... that password is shown because the PasswordCredentials object prints it in the toString method. That method could be changed to just print ***** instead of the clear text password."

      Attachments

        Issue Links

          Activity

            People

              nacx Ignasi Barrera
              Fofofosho Forrest Townsend
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: