[
https://issues.apache.org/jira/browse/ATLAS-5385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18106296#comment-18106296
]
ASF subversion and git services commented on ATLAS-5385:
--------------------------------------------------------
Commit bcfe1a25a5c187cfa4bebb2693faabb51fd260e0 in atlas's branch
refs/heads/master from Ramachandran Krishnan
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=bcfe1a25a5 ]
ATLAS-5385: Rename header authentication config to
atlas.authentication.method.header.* (#735)
* ATLAS-5385: Rename header authentication config to
atlas.authentication.method.header.*
Replace legacy atlas.authn.header.* properties with a generic logical-key to
HTTP-header mapping scheme so deployers can configure any proxy header names
without vendor-specific defaults in OSS code.
* ATLAS-5385: Fix header auth build and simplify logical key mapping
Use server-common User class in AtlasHeaderPreAuthFilter and accept only
documented property suffixes (username, roles, request-id).
* ATLAS-5385: Rename header auth property keys only
Drop AtlasHeaderAuthConfiguration and keep the existing filter logic.
Update atlas.authn.header.* properties to atlas.authentication.method.header.*.
* ATLAS-5385: Move header auth properties with other authentication settings
Address review feedback to colocate header auth examples under Security
Properties alongside LDAP and AD configuration.
* ATLAS-5385: Use atlas.authentication.method.header.enabled property name
Align enable flag with other atlas.authentication.method.* settings.
> ATLAS: Align header authentication config with
> atlas.authentication.method.header.* property scheme
> ---------------------------------------------------------------------------------------------------
>
> Key: ATLAS-5385
> URL: https://issues.apache.org/jira/browse/ATLAS-5385
> Project: Atlas
> Issue Type: Improvement
> Components: atlas-core
> Reporter: Ramachandran Krishnan
> Assignee: Ramachandran Krishnan
> Priority: Major
> Fix For: 2.6.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Rename header authentication properties from {{atlas.authn.header.{*}{*}}}
> *to {{atlas.authentication.method.header.}}* in the existing
> {{{}AtlasHeaderPreAuthFilter{}}}. No behavior change; same filter logic as
> master.
> h2. Migration
>
> # Before
> {code:java}
> atlas.authn.header.enabled=true
> atlas.authn.header.username=<header-name>
> atlas.authn.header.roles=<header-name>
> atlas.authn.header.requestid=<header-name>{code}
> # After
> {code:java}
> atlas.authentication.header.enabled=true
> atlas.authentication.method.header.username=<header-name>
> atlas.authentication.method.header.roles=<header-name>
> atlas.authentication.method.header.request-id=<header-name>{code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)