Legacy Dev Forum Posts

 View Only

Sign Up

Proxy doesn't take user/pasw into account

  • 1.  Proxy doesn't take user/pasw into account

    Posted 06-05-2025 18:17

    Dries | 2020-07-31 07:42:51 UTC | #1

    I’m using the platform API client SDK for Java(version 96). When I’m building my APIClient I use the method ‘ withAuthenticatedProxy’ , I give my proxy object and user and password.

    But it seems not to take into account the user and password, because the return from the proxy is a HTTP error code 407 with the message : “Your credentials could not be authenticated: ‘Credentials are missing.’.”

    The proxy server is using the authenticate protocol ‘NTLM’.

    Someone know if there are issue’s with this method? Or I’m doing something wrong?

    Code snippet :

    ApiClient.Builder.standard().withBasePath(region).withAuthenticatedProxy(proxy, "username", "password").build();


    anon11147534 | 2020-07-31 08:26:10 UTC | #2

    Looks like we'll have to make some changes to the SDK in order to work with NTLM authentication. We'll add it in a future release of the SDK. For now unfortunately the Java SDK won't work with NTLM authentication.

    Keep an eye on the SDK releases for when it's added.


    Dries | 2020-07-31 12:36:28 UTC | #3

    Thanks for the fast response.

    Do you have any idea if it's going to be in the next 2? Or do you think this will take longer?

    Thanks.


    anon11147534 | 2020-07-31 12:49:14 UTC | #4

    I couldn't give an honest estimate. It doesn't look like a big chuck of work so will depend mostly on developer availability.


    system | 2020-08-31 12:49:19 UTC | #5

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 8455