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

Handle Forbidden exception as unauthorized when no token is provided

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: core
    • Labels:
      None

      Description

      There are cases where you can get to resources anonymously and others that cause 403 which should be manifested as 401. Modify the auth logic to throw an unauthorized if a 403 is returned and no token was provided for authentication

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: