[
https://issues.apache.org/jira/browse/KNOX-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Magyar resolved KNOX-2396.
---------------------------------
Resolution: Fixed
> 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
> Assignee: Attila Magyar
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)