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

Reply via email to