src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/AuthenticationFilter.java
equal
deleted
inserted
replaced
52 "jdk.httpclient.auth.retrylimit", DEFAULT_RETRY_LIMIT); |
52 "jdk.httpclient.auth.retrylimit", DEFAULT_RETRY_LIMIT); |
53 |
53 |
54 static final int UNAUTHORIZED = 401; |
54 static final int UNAUTHORIZED = 401; |
55 static final int PROXY_UNAUTHORIZED = 407; |
55 static final int PROXY_UNAUTHORIZED = 407; |
56 |
56 |
|
57 // A public no-arg constructor is required by FilterFactory |
|
58 public AuthenticationFilter() {} |
|
59 |
57 private PasswordAuthentication getCredentials(String header, |
60 private PasswordAuthentication getCredentials(String header, |
58 boolean proxy, |
61 boolean proxy, |
59 HttpRequestImpl req) |
62 HttpRequestImpl req) |
60 throws IOException |
63 throws IOException |
61 { |
64 { |