Philip Zampino created KNOX-2396:
------------------------------------

             Summary: TokenResource Renew and Revoke Should Respond With Error 
Codes That Identify Specific Errors
                 Key: KNOX-2396
                 URL: https://issues.apache.org/jira/browse/KNOX-2396
             Project: Apache Knox
          Issue Type: Improvement
          Components: Server
    Affects Versions: 1.4.0
            Reporter: Philip Zampino


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to