[
https://issues.apache.org/jira/browse/KNOX-3261?focusedWorklogId=1006797&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1006797
]
ASF GitHub Bot logged work on KNOX-3261:
----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Feb/26 08:29
Start Date: 24/Feb/26 08:29
Worklog Time Spent: 10m
Work Description: smolnar82 opened a new pull request, #1156:
URL: https://github.com/apache/knox/pull/1156
[KNOX-3261](https://issues.apache.org/jira/browse/KNOX-3261) - Avoid code
duplication in grant type flow logic
## What changes were proposed in this pull request?
A minor refactor to avoid code duplication in `JWTFederationFilter` and
`OAuthFlowsFederationFilterTest`.
## How was this patch tested?
Ran unit tests.
## Integration Tests
N/A
## UI changes
N/A
Issue Time Tracking
-------------------
Worklog Id: (was: 1006797)
Remaining Estimate: 0h
Time Spent: 10m
> Avoid code duplication in grant type flow logic
> -----------------------------------------------
>
> Key: KNOX-3261
> URL: https://issues.apache.org/jira/browse/KNOX-3261
> Project: Apache Knox
> Issue Type: Improvement
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> KNOX-3259 added an important feature which extends the previous
> client_credentials support in JWTProvider with token_exchange and
> refresh_token grant types. This was a great addition.
> In the respective PR I indicated that we can refactor the code to avoid code
> duplication. We agreed with [~lmccay] , that it's ok to merge those PRs and
> address the code duplication as a separate work item.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)