Skip to content

ATLAS-5284: Support JWT authentication & Header based Authentication …#655

Open
chaitalicod wants to merge 1 commit into
apache:masterfrom
chaitalicod:ATLAS-5284
Open

ATLAS-5284: Support JWT authentication & Header based Authentication …#655
chaitalicod wants to merge 1 commit into
apache:masterfrom
chaitalicod:ATLAS-5284

Conversation

@chaitalicod
Copy link
Copy Markdown
Contributor

…for Atlas

What changes were proposed in this pull request?

(Please fill in changes proposed in this fix. Create an issue in ASF JIRA before opening a pull request and
set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. ATLAS-XXXX: Fix a typo in YYY))

How was this patch tested?

(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

@chaitalicod chaitalicod marked this pull request as draft June 1, 2026 09:06
@chaitalicod chaitalicod marked this pull request as ready for review June 5, 2026 12:48
AtlasAuth atlasAuth = authenticate(httpServletRequest);

if (atlasAuth != null) {
final List<GrantedAuthority> grantedAuths = Arrays.asList(new SimpleGrantedAuthority(DEFAULT_ATLAS_ROLE));
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see grantedAuths is defaulted to DEFAULT_ATLAS_ROLE. please verify at your end.

Please validate the user group test case at your end.
To confirm the whether usergroups are set correctly in Atlas’s security context use /admin/session API.

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.

2 participants