We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
The text was updated successfully, but these errors were encountered:
This is duplicate to #3079
Sorry, something went wrong.
@violetagg is there a Support for Spengo auth scheme support for netty HttpClient similar to Apache HttpClient?
violetagg
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: