Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2396

TokenResource Renew and Revoke Should Respond With Error Codes That Identify Specific Errors

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None

      Description

      TokeResource currently responds to failed requests to renew or revoke a token with a boolean indicator and an error message. Any client behavior based on the nature of the failure must currently depend on the error message content, which is not robust.

      These error responses should also include one of a well-defined set of error codes, on which clients can reliably depend to control their behavior upon receiving such responses.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pzampino Philip Zampino
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: