[jbosstools-issues] [JBoss JIRA] (JBIDE-19371) Refactor the OpenShiftRedirectionStrategy to get auth scheme

Jeff Cantrill (JIRA) issues at jboss.org
Wed Feb 25 15:20:49 EST 2015


Jeff Cantrill created JBIDE-19371:
-------------------------------------

             Summary: Refactor the OpenShiftRedirectionStrategy to get auth scheme
                 Key: JBIDE-19371
                 URL: https://issues.jboss.org/browse/JBIDE-19371
             Project: Tools (JBoss Tools)
          Issue Type: Feature Request
          Components: openshift
    Affects Versions: 4.3.0.Alpha2
            Reporter: Jeff Cantrill


Introducing an authorization client which is able to determine how to authenticate when it gets a 401 and includes the following headers:

(org.apache.http.Header[]) [Www-Authenticate: Basic realm="openshift", Date: Wed, 25 Feb 2015 20:11:49 GMT, Content-Length: 0, Content-Type: text/plain; charset=utf-8]

Add method to identify the auth scheme and return the realm.  Update the 'canconnect' endpoint to use this function.

This was achieved by trying to auth with empty username and password



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jbosstools-issues mailing list