[
https://issues.apache.org/jira/browse/KNOX-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17404164#comment-17404164
]
ASF subversion and git services commented on KNOX-2396:
-------------------------------------------------------
Commit 9ee06f3b6b0695afbeb02fe133871ec66600cd0b in knox's branch
refs/heads/master from Attila Magyar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=9ee06f3 ]
KNOX-2396 - TokenResource Renew and Revoke Should Respond With Error Codes That
Identify Specific Errors (#480)
> 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: 20m
> 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)