diqiu50 opened a new pull request, #13935:
URL: https://github.com/apache/gravitino/pull/13935

   ### What changes were proposed in this pull request?
   
   When `spark.sql.gravitino.authType=basic`, pass the Gravitino user name and 
password to the auto-routed Iceberg REST client as `rest.auth.type=basic` and 
`rest.auth.basic.*`. Any explicit `rest.auth.*` or `token` property keeps 
priority and disables the reuse.
   
   ### Why are the changes needed?
   
   A routed Iceberg catalog connects to the Iceberg REST service without 
credentials under Basic auth, so users must repeat the user name and password 
in `spark.sql.gravitino.iceberg.rest.rest.auth.*`.
   
   Fix: #13933
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Basic credentials are now reused for routed Iceberg REST catalogs. Docs 
are updated. No new property keys.
   
   ### How was this patch tested?
   
   Added unit tests in `TestIcebergRestOAuthConfig`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to