[
https://issues.apache.org/jira/browse/KNOX-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18088613#comment-18088613
]
ASF subversion and git services commented on KNOX-3334:
-------------------------------------------------------
Commit 0c8838511f2918b6b13b8293f4db04febe2f5fa0 in knox's branch
refs/heads/master from Larry McCay
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=0c8838511 ]
KNOX-3334 - Introduce ActorChainPrincipal for RFC 8693 instead of
ImpersonatedPrincipal (#1257)
* KNOX-3334 - Introduce ActorChainPrincipal for RFC 8693 instead of
ImpersonatedPrincipal
> Introduce ActorChainPrincipal for RFC 8693 instead of ImpersonatedPrincipal
> ---------------------------------------------------------------------------
>
> Key: KNOX-3334
> URL: https://issues.apache.org/jira/browse/KNOX-3334
> Project: Apache Knox
> Issue Type: Bug
> Components: JWT
> Reporter: Larry McCay
> Assignee: Larry McCay
> Priority: Major
> Fix For: 3.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> KNOX-3321 provided an initial implementation for 8693 and adding an 'act'
> claim to the returned JWT based on the presence of the ImpersonatedPrincipal
> and having delegated auth enabled on the KnoxToken service.
> This falls short of what we need to support token exchanges that already
> include an 'act' claim in the subject token. To support this properly, we
> need the previous 'act' claim represented in the Java Subject with the full
> chain represented. We will then add the next actor subclaim to the chain from
> within the KnoxToken service, effectively continuing the chain as it flows
> through the actors for the given request.
> To support this, we should introduce a new principal called
> ActorChainPrincipal which will have an extended interface to provide the list
> of 'act' claims within the presented token for building out the chain in the
> new token.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)