Searched refs:Authenticator (Results 1 – 8 of 8) sorted by relevance
19 import java.net.Authenticator;25 assertEquals(Authenticator.RequestorType.PROXY, in test_valueOfLjava_lang_String()26 Authenticator.RequestorType.valueOf("PROXY")); in test_valueOfLjava_lang_String()27 assertEquals(Authenticator.RequestorType.SERVER, in test_valueOfLjava_lang_String()28 Authenticator.RequestorType.valueOf("SERVER")); in test_valueOfLjava_lang_String()30 Authenticator.RequestorType.valueOf("TEST"); in test_valueOfLjava_lang_String()37 Authenticator.RequestorType[] expectedTypes = { in test_values()38 Authenticator.RequestorType.PROXY, in test_values()39 Authenticator.RequestorType.SERVER in test_values()42 Authenticator.RequestorType[] types = Authenticator.RequestorType.values(); in test_values()
19 import java.net.Authenticator;30 PasswordAuthentication pa = Authenticator.requestPasswordAuthentication( in test_setDefault()35 Authenticator.setDefault(mock); in test_setDefault()38 pa = Authenticator.requestPasswordAuthentication(addr, 80, "http", "promt", "HTTP"); in test_setDefault()41 Authenticator.setDefault(null); in test_setDefault()55 class MockAuthenticator extends Authenticator {60 public Authenticator.RequestorType getRequestorType() { in getRequestorType()
31 public abstract class Authenticator { class33 public Authenticator() { in Authenticator() method in Authenticator41 public static synchronized void setDefault(java.net.Authenticator a) { in setDefault()72 java.net.Authenticator.RequestorType reqType) { in requestPasswordAuthentication()108 protected java.net.Authenticator.RequestorType getRequestorType() { in getRequestorType()112 private java.net.Authenticator.RequestorType requestingAuthType;129 private static java.net.Authenticator theAuthenticator;
60 class Authenticator { class63 private static Authenticator theAuthenticator;122 public synchronized static void setDefault(Authenticator a) { in setDefault()174 Authenticator a = theAuthenticator; in requestPasswordAuthentication()236 Authenticator a = theAuthenticator; in requestPasswordAuthentication()303 Authenticator a = theAuthenticator; in requestPasswordAuthentication()
162 return Authenticator.requestPasswordAuthentication( in authenticate()
21 import java.net.Authenticator;274 Authenticator.setDefault(new Authenticator() { in testProxyAuthorization()303 Authenticator.setDefault(null); in testProxyAuthorization()
34 import java.net.Authenticator;436 Authenticator.setDefault(new Authenticator() { in testProxyAuthConnection()543 Authenticator.setDefault(new Authenticator() { in testProxyAuthConnection_doOutput()
271 "ojluni/src/main/java/java/net/Authenticator.java",