You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandor Molnar (Jira)" <ji...@apache.org> on 2026/09/15 16:17:00 UTC

[jira] [Resolved] (KNOX-3457) Remove unused delegation.requested.scope.enabled provider parameter

     [ https://issues.apache.org/jira/browse/KNOX-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sandor Molnar resolved KNOX-3457.
---------------------------------
    Resolution: Fixed

> 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)