[
https://issues.apache.org/jira/browse/KNOX-2603?focusedWorklogId=596951&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-596951
]
ASF GitHub Bot logged work on KNOX-2603:
----------------------------------------
Author: ASF GitHub Bot
Created on: 14/May/21 22:14
Start Date: 14/May/21 22:14
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request #448:
URL: https://github.com/apache/knox/pull/448
## What changes were proposed in this pull request?
In order to avoid expensive MAC calculation at request verification time,
previous successful passcode token verifications are cached and checked when
validating a passcode token.
## How was this patch tested?
Updated existing JUnit tests: I made sure common
`testVerificationOptimization` is invoked in
`TokenIDAsHTTPBasicCredsFederationFilterTest` (where we test passcode tokens)
--
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: 596951)
Remaining Estimate: 0h
Time Spent: 10m
> Passcode token verification event should be cached
> --------------------------------------------------
>
> Key: KNOX-2603
> URL: https://issues.apache.org/jira/browse/KNOX-2603
> Project: Apache Knox
> Issue Type: Improvement
> Components: Server
> Affects Versions: 1.6.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Similar to JWT token verifications, Passcode token verifications should also
> be cached so that we could save expensive MAC generation for already verified
> tokens.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)