[
https://issues.apache.org/jira/browse/KNOX-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115656#comment-18115656
]
ASF subversion and git services commented on KNOX-3457:
-------------------------------------------------------
Commit c9e04a02ee1854c7c6d38b26f09ebd690215c39a in knox's branch
refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=c9e04a02e ]
KNOX-3457: Remove unused delegation.requested.scope.enabled provider parameter
(#1399)
> Remove unused delegation.requested.scope.enabled provider parameter
> -------------------------------------------------------------------
>
> Key: KNOX-3457
> URL: https://issues.apache.org/jira/browse/KNOX-3457
> Project: Apache Knox
> Issue Type: Sub-task
> Components: Server
> Affects Versions: 3.1.0
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 3.1.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> The delegation.requested.scope.enabled provider parameter
> ({{JWTFederationFilter.DELEGATION_REQUESTED_SCOPE_ENABLED}}) is read into a
> field and exposed via {{isDelegationRequestedScopeEnabled()}}, but the getter
> has no production callers, it is referenced only by config-parse tests. Scope
> is never parsed from the exchange request, so the flag has no behavioral
> effect.
> Scope: Remove the constant, field, init-param read, and getter from
> {{JWTFederationFilter}}; drop the scope cases from
> {{JWTFederationFilterDelegationConfigTest}}; and remove the corresponding
> mock stub in {{HadoopAuthFilterTest}}. Purely dead-code removal; no behavior
> change.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)