Skip to content

Support For Spnego Auth scheme support for netty HttpClient similar to Apache's #3079

@luckysardana

Description

@luckysardana

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

Activity

naveenyamsani

naveenyamsani commented on Mar 10, 2024

@naveenyamsani

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

naveenyamsani

naveenyamsani commented on Mar 11, 2024

@naveenyamsani

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

violetagg

violetagg commented on Mar 11, 2024

@violetagg
Member

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

No

added this to the General Backlog milestone on Mar 11, 2024
raccoonback

raccoonback commented on May 20, 2025

@raccoonback
Contributor

@violetagg
Hello,

I'm wondering if there are any plans to support this feature in Reactor Netty.
If so, would it be alright for me to look into it?

Thank you!

violetagg

violetagg commented on May 20, 2025

@violetagg
Member

@violetagg Hello,

I'm wondering if there are any plans to support this feature in Reactor Netty. If so, would it be alright for me to look into it?

Thank you!

Yes sure, you can pick this one.
I think we want to introduce it in main (future 1.3.x) and not 1.2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @violetagg@raccoonback@luckysardana@naveenyamsani

        Issue actions

          Support For Spnego Auth scheme support for netty HttpClient similar to Apache's · Issue #3079 · reactor/reactor-netty