Searched refs:Authenticator (Results 1 - 6 of 6) sorted by relevance

/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DAuthenticatorRequestorTypeTest.java26 import java.net.Authenticator;
28 @TestTargetClass(Authenticator.RequestorType.class)
38 assertEquals(Authenticator.RequestorType.PROXY,
39 Authenticator.RequestorType.valueOf("PROXY"));
40 assertEquals(Authenticator.RequestorType.SERVER,
41 Authenticator.RequestorType.valueOf("SERVER"));
43 Authenticator.RequestorType.valueOf("TEST");
57 Authenticator.RequestorType[] expectedTypes = {
58 Authenticator.RequestorType.PROXY,
59 Authenticator
[all...]
H A DAuthenticatorTest.java24 import java.net.Authenticator;
30 import java.net.Authenticator.RequestorType;
35 @TestTargetClass(value = Authenticator.class,
77 * @tests java.net.Authenticator.RequestorType#valueOf(String)
86 assertEquals(RequestorType.PROXY, Authenticator.RequestorType
88 assertEquals(RequestorType.SERVER, Authenticator.RequestorType
91 RequestorType rt = Authenticator.RequestorType.valueOf("BADNAME");
99 Authenticator.RequestorType.valueOf(null);
109 * @tests java.net.Authenticator.RequestorType#values()
124 * @tests java.net.Authenticator#requestPasswordAuthenticatio
[all...]
/dalvik/libcore/luni/src/main/java/java/net/
H A DAuthenticator.java23 * authenticator which extends {@code Authenticator} by {@code
24 * setDefault(Authenticator a)}. Then it should override {@code
31 public abstract class Authenticator { class
34 private static Authenticator thisAuthenticator;
161 // Authenticator
177 public static void setDefault(Authenticator a) {
229 // Authenticator
273 Authenticator.RequestorType reqType) {
293 // Authenticator
312 protected Authenticator
[all...]
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DHttpURLConnectionTest.java29 import java.net.Authenticator;
310 // Set up test Authenticator
311 Authenticator.setDefault(new Authenticator() {
340 Authenticator.setDefault(null);
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DHttpsURLConnectionTest.java48 import java.net.Authenticator;
593 Authenticator.setDefault(new Authenticator() {
724 Authenticator.setDefault(new Authenticator() {
749 * (Authenticator was not set up in the system).
754 notes = "Verifies HTTPS connection process made through the proxy server. Proxy server needs authentication but client fails to authenticate (Authenticator was not set up in the system).",
760 notes = "Verifies HTTPS connection process made through the proxy server. Proxy server needs authentication but client fails to authenticate (Authenticator was not set up in the system).",
766 notes = "Verifies HTTPS connection process made through the proxy server. Proxy server needs authentication but client fails to authenticate (Authenticator was not set up in the system).",
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
H A DHttpURLConnectionImpl.java25 import java.net.Authenticator;
1780 PasswordAuthentication pa = Authenticator

Completed in 347 milliseconds