[ 
https://issues.apache.org/jira/browse/KNOX-2212?focusedWorklogId=394269&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-394269
 ]

ASF GitHub Bot logged work on KNOX-2212:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Feb/20 15:58
            Start Date: 27/Feb/20 15:58
    Worklog Time Spent: 10m 
      Work Description: pzampino commented on pull request #274: KNOX-2212 - 
Token permissiveness
URL: https://github.com/apache/knox/pull/274#discussion_r385200626
 
 

 ##########
 File path: 
gateway-server/src/main/java/org/apache/knox/gateway/services/token/impl/TokenStateServiceMessages.java
 ##########
 @@ -63,4 +63,10 @@
   @Message(level = MessageLevel.ERROR, text = "Error occurred evicting token 
{0}")
   void errorEvictingTokens(@StackTrace(level = MessageLevel.DEBUG) Exception 
e);
 
+  @Message(level = MessageLevel.ERROR, text = "Error occurred while parsing 
JWT token, cause: {0}")
+  void errorParsingToken(String cause);
+
+  @Message(level = MessageLevel.DEBUG, text = "Token permissiveness is 
enabled, expiration for token {0} is {1}")
 
 Review comment:
   Again, I think _permissive validation_ is a better description
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 394269)
    Time Spent: 1h 50m  (was: 1h 40m)

> TokenStateService should fail permissively
> ------------------------------------------
>
>                 Key: KNOX-2212
>                 URL: https://issues.apache.org/jira/browse/KNOX-2212
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.4.0
>            Reporter: Philip Zampino
>            Assignee: Sandeep More
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> While unlikely, it's possible that the TokenStateService may be presented 
> with a token, for which it has no state, but which can be verified as a valid 
> (origin, expiration, etc...) token. In these cases, rather than rejecting the 
> token for lack of server-managed state, the token's state should be recorded, 
> and the associated operation permitted.



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

Reply via email to