Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-6930

RESTClient should throw UnauthorizedException if the status code returned is 403 (FORBIDDEN)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
    • Release Notes:
      Incompatible change: Updated cdap-clients to throw UnauthorizedExceptions when operations return 403 Forbidden from CDAP. Users of cdap-clients may have to update their code to handle these exceptions.
    • Rank:
      1|hzzj7r:

      Description

      Currently, this is handled only in AuthorizationClient. This should be moved to RESTClient so that other clients can also handle 403 status codes.

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              gokul Gokul Gunasekaran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: