Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use userName instead of fullName in AuthenticationResult for KerberosAuthenticator #13622

Closed
wants to merge 1 commit into from

Conversation

JWuCines
Copy link

@JWuCines JWuCines commented Dec 30, 2022

Description

AuthenticationResult can be used for Authorization purpose.

AuthenticationResult includes all the metadata after authentication process with the authentication authority.
In case of Kerberos, it returns the fullName, which includes the username and the realm.
However, for authorization purpose, most of the time only the username is required (i.e. Ranger).

Release note

AuthenticationResult from KerberosAuthenticator can be used for Authorization (i.e. Ranger)


Key changed/added classes in this PR
  • AuthenticationResult

This PR has:

  • been self-reviewed.
  • a release note entry in the PR description.
  • been tested in a Druid cluster.

Copy link

This pull request has been marked as stale due to 60 days of inactivity.
It will be closed in 4 weeks if no further activity occurs. If you think
that's incorrect or this pull request should instead be reviewed, please simply
write any comment. Even if closed, you can still revive the PR at any time or
discuss it on the dev@druid.apache.org list.
Thank you for your contributions.

@github-actions github-actions bot added the stale label Jan 19, 2024
Copy link

This pull request/issue has been closed due to lack of activity. If you think that
is incorrect, or the pull request requires review, you can revive the PR at any time.

@github-actions github-actions bot closed this Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant