Uploaded image for project: 'OpenShift Java Client'
  1. OpenShift Java Client
  2. OSJC-124

AbstractOpenshiftConfiguration#getPassword() not removing quotes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.7.0
    • 2.6.0
    • core
    • None
    • Hide
      • Put password to ~/.openshift/express.conf
      • Use following code to connect to OpenShift
        OpenShiftConfiguration openshiftConf = new OpenShiftConfiguration();
        IOpenShiftConnection connection = new
        OpenShiftConnectionFactory().getConnection(clientId,
                        openshiftConf.getRhlogin(), openshiftConf.getPassword(),
        openshiftConf.getLibraServer());
        
      Show
      Put password to ~/.openshift/express.conf Use following code to connect to OpenShift OpenShiftConfiguration openshiftConf = new OpenShiftConfiguration(); IOpenShiftConnection connection = new OpenShiftConnectionFactory().getConnection(clientId, openshiftConf.getRhlogin(), openshiftConf.getPassword(), openshiftConf.getLibraServer());

      AbstractOpenshiftConfiguration#getPassword() not removing quotes with
      the removeQuotes() (as the only getter method in class), and causing following exception:

      Could not request
      https://openshift.redhat.com/broker/rest/user: Unable to authenticate
      the user. Please try again and contact support if the issue persists.
      

              adietish@redhat.com André Dietisheim
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: