krzys9876 opened a new pull request, #50375: URL: https://github.com/apache/spark/pull/50375
### What changes were proposed in this pull request? Enable downloadin jar and other files from secured repos using http(s)://user:password@url scheme. Add basic authentication header to http request when credentials are passed in url. In such case the credentials are removed from url to avoid logging them in case of error. ### Why are the changes needed? This functionality is needed in environments with fully secured artifact repositories (like artifactory), which otherwise requires copying files to other (potencially unsecured) locations before they can be utilised by spark. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Run existing tests, test various scenarios using secured repositories (incl. production corporate environment). No new tests are added since this would introduce complexity to testing infrastructure (necessity to provide secured file repository). ### Was this patch authored or co-authored using generative AI tooling? No -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org