You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Philip Zampino (Jira)" <ji...@apache.org> on 2020/06/26 19:06:00 UTC
[jira] [Created] (KNOX-2396) TokenResource Renew and Revoke Should
Respond With Error Codes That Identify Specific Errors
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)