[
https://issues.apache.org/jira/browse/KNOX-2396?focusedWorklogId=636856&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-636856
]
ASF GitHub Bot logged work on KNOX-2396:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Aug/21 10:34
Start Date: 11/Aug/21 10:34
Worklog Time Spent: 10m
Work Description: zeroflag opened a new pull request #480:
URL: https://github.com/apache/knox/pull/480
(It is very **important** that you created an Apache Knox JIRA for this
change and that the PR title/commit message includes the Apache Knox JIRA ID!)
## What changes were proposed in this pull request?
TokeResource currently responds to failed requests to renew or revoke a
token with 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.
## How was this patch tested?
....
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 636856)
Remaining Estimate: 0h
Time Spent: 10m
> 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: 10m
> 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)