Skip to content

RANGER-5717: Disable SSO in docker, ensure readiness health check registers user in DB - #1158

Open
kumaab wants to merge 2 commits into
apache:masterfrom
kumaab:ranger_5717
Open

RANGER-5717: Disable SSO in docker, ensure readiness health check registers user in DB#1158
kumaab wants to merge 2 commits into
apache:masterfrom
kumaab:ranger_5717

Conversation

@kumaab

@kumaab kumaab commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

In docker env, ranger.sso.enabled=true was added in #1120.

To ensure readiness healthcheck API registers the healthcheck user (ranger.admin.healthcheck.username) in the DB, update SessionMgr.java to allow user creation irrespective of config: ranger.sso.enabled.

Setting ranger.sso.enabled=false to allow logout from Ranger UI to be functional.

Note: When using header based authentication, ranger.sso.enabled must be set to true to allow any authenticated user to be created in Ranger DB.

How was this patch tested?

Tested using both scenarios:

  • ranger.sso.enabled=true
  • ranger.sso.enabled=false

that the API endpoint is accessible via ranger.admin.healthcheck.username user and results in user creation in DB.

@kumaab kumaab self-assigned this Aug 15, 2026
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