Skip to content

ATLAS-5385: Rename header authentication config to atlas.authentication.method.header.* (2.6) - #739

Open
ramackri wants to merge 1 commit into
apache:atlas-2.6from
ramackri:header-auth-config-rename-2.6
Open

ATLAS-5385: Rename header authentication config to atlas.authentication.method.header.* (2.6)#739
ramackri wants to merge 1 commit into
apache:atlas-2.6from
ramackri:header-auth-config-rename-2.6

Conversation

@ramackri

Copy link
Copy Markdown
Contributor

Summary

Same change as #735, targeted at atlas-2.6 branch.

Rename header authentication properties from atlas.authn.header.* to atlas.authentication.method.header.* in the existing AtlasHeaderPreAuthFilter. No behavior change; same filter logic.

Migration

# Before
atlas.authn.header.enabled=true
atlas.authn.header.username=<header-name>
atlas.authn.header.roles=<header-name>
atlas.authn.header.requestid=<header-name>

# After
atlas.authentication.method.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>

Test plan

  • Enable header auth with updated property keys in atlas-application.properties
  • Verify API access with curl using configured identity headers
  • Run AtlasHeaderPreAuthFilterTest

https://issues.apache.org/jira/browse/ATLAS-5385

Related: #735

Made with Cursor

Rename atlas.authn.header.* to atlas.authentication.method.header.* and
colocate header auth examples with other authentication properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant