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 Spnego Auth scheme support for netty HttpClient similar to Apache's #3079

Open
luckysardana opened this issue Mar 4, 2024 · 3 comments
Labels
help wanted We need contributions on this type/enhancement A general enhancement

Comments

@luckysardana
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<AuthSchemeProvider> authSchemeRegistry = RegistryBuilder.<AuthSchemeProvider>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

@luckysardana luckysardana added status/need-triage A new issue that still need to be evaluated as a whole type/enhancement A general enhancement labels Mar 4, 2024
@naveenyamsani
Copy link

Am also facing same thing not able to view Spengo implementation in netty Httpclient like in Apache HttpClient

@naveenyamsani
Copy link

naveenyamsani commented Mar 11, 2024

@violetagg is there a support For Spnego Auth scheme with netty HttpClient similar to Apache's?

@violetagg
Copy link
Member

@violetagg is there a support For Spnego Auth scheme with netty HttpClient similar to Apache's?

No

@violetagg violetagg removed the status/need-triage A new issue that still need to be evaluated as a whole label Mar 11, 2024
@violetagg violetagg added this to the General Backlog milestone Mar 11, 2024
@violetagg violetagg added the help wanted We need contributions on this label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We need contributions on this type/enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants