Adobe-Marketing-Cloud / analytics-java-library

A Java client library for Analytics APIs
Apache License 2.0
15 stars 16 forks source link

Authenticated HTTP proxy #5

Closed ByteFader closed 9 years ago

ByteFader commented 9 years ago

Minor change of the proxy support to support user and password credentials for proxy.

'Authenticator authenticator = new Authenticator() {

    public PasswordAuthentication getPasswordAuthentication() {
        return (new PasswordAuthentication("user",
                "password".toCharArray()));
    }
};
Authenticator.setDefault(authenticator);'
trekawek commented 9 years ago

Added in 53eb5f1950fb3a765f34bf8655d12d6feba82bcf.