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

Allow OpenShiftRedirectionStrategy to determine the auth scheme

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.0
    • Component/s: core
    • Labels:

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcantrill Jeffrey Cantrill
                  Reporter:
                  jcantrill Jeffrey Cantrill
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: