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

Proxy server authentication called twice #56

Open
tomerbal opened this issue Mar 19, 2020 · 0 comments
Open

Proxy server authentication called twice #56

tomerbal opened this issue Mar 19, 2020 · 0 comments

Comments

@tomerbal
Copy link

tomerbal commented Mar 19, 2020

Hi,

I have a simple server configured:

`

    DefaultHttpProxyServer.bootstrap()
            .withPort(8000)
            .withProxyAuthenticator(new ProxyAuthenticator() {
                @Override
                public boolean authenticate(String username, String password) {
                    log.info("Authenticating");
                    return true;
                }

                @Override
                public String getRealm() {
                    return null;
                }
            })
            .start();

`

It seems that the ProxyAuthenticator authenticate method being called twice

Am I doing something wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant