You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/08/25 11:52:00 UTC
[jira] [Commented] (KNOX-2792) New Knox service to add custom auth headers in the response
[ https://issues.apache.org/jira/browse/KNOX-2792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17584797#comment-17584797 ]
ASF subversion and git services commented on KNOX-2792:
-------------------------------------------------------
Commit d63507868b1ebef8b1337650a0346250647d47f6 in knox's branch refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=d63507868 ]
KNOX-2792 - Added a new Knox service to have auth related REST API endpoints (#625)
A new REST API endpoint was developed that populates the response object with pre-calculated auth headers.
> New Knox service to add custom auth headers in the response
> -----------------------------------------------------------
>
> Key: KNOX-2792
> URL: https://issues.apache.org/jira/browse/KNOX-2792
> Project: Apache Knox
> Issue Type: Sub-task
> Components: Server
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> A simple REST service is needed to perform centralized authentication and authorization of incoming requests. Combined with nginx's external authentication capability it allows for every request to be checked for valid authentication before being forwarded to the upstream service.
> If a valid principal is found, a header is added to the response, by default {{X-Knox-Actor-ID}}, with the principal. In addition, if the authenticated subject has groups, these are added into comma-separated headers of the default form {{X-Knox-Actor-Groups-num}}. Each group header has a character limit of 1000 to keep them reasonably sized. The header names can be customized via configuration properties.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)