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

Support for Spengo auth scheme support for netty HttpClient similar to Apache HttpClient #3091

Closed
naveenyamsani opened this issue Mar 10, 2024 · 2 comments
Assignees
Labels
status/duplicate This is a duplicate of another issue

Comments

@naveenyamsani
Copy link

We need to connect to some component via proxy, and this proxy works by kerberos auth. We need to do something like below:

CredentialsProvider credsr = new BasicCredentialsProvider();
credsProvider.setCredentials(new AuthScope(null, -1, null), use_jaas_creds);
Registry authSchemeRegistry = RegistryBuilder.create().register(AuthSchemes.SPNEGO, new SPNegoSchemeFactory(true)).build();
CloseableHttpClient httpclient = HttpClients.custom()
// set our proxy - httpclient doesn't use ProxySelector
.setRoutePlanner(new DefaultProxyRoutePlanner(proxy))
.setDefaultAuthSchemeRegistry(authSchemeRegistry)
.setDefaultCredentialsProvider(creds).build();

We are not seeing any solution to run something like above Please help

@naveenyamsani naveenyamsani added status/need-triage A new issue that still need to be evaluated as a whole type/bug A general bug labels Mar 10, 2024
@violetagg
Copy link
Member

This is duplicate to #3079

@violetagg violetagg added status/duplicate This is a duplicate of another issue and removed type/bug A general bug status/need-triage A new issue that still need to be evaluated as a whole labels Mar 10, 2024
@naveenyamsani
Copy link
Author

@violetagg is there a Support for Spengo auth scheme support for netty HttpClient similar to Apache HttpClient?

@violetagg violetagg self-assigned this Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/duplicate This is a duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants