/libcore/luni/src/test/java/libcore/java/net/ |
OldAuthenticatorRequestorTypeTest.java | 19 import java.net.Authenticator; 25 assertEquals(Authenticator.RequestorType.PROXY, 26 Authenticator.RequestorType.valueOf("PROXY")); 27 assertEquals(Authenticator.RequestorType.SERVER, 28 Authenticator.RequestorType.valueOf("SERVER")); 30 Authenticator.RequestorType.valueOf("TEST"); 37 Authenticator.RequestorType[] expectedTypes = { 38 Authenticator.RequestorType.PROXY, 39 Authenticator.RequestorType.SERVER 42 Authenticator.RequestorType[] types = Authenticator.RequestorType.values() [all...] |
OldAuthenticatorTest.java | 19 import java.net.Authenticator; 30 PasswordAuthentication pa = Authenticator.requestPasswordAuthentication( 35 Authenticator.setDefault(mock); 38 pa = Authenticator.requestPasswordAuthentication(addr, 80, "http", "promt", "HTTP"); 41 Authenticator.setDefault(null); 55 class MockAuthenticator extends Authenticator { 60 public Authenticator.RequestorType getRequestorType() {
|
/frameworks/base/obex/javax/obex/ |
Authenticator.java | 83 public interface Authenticator {
|
SessionNotifier.java | 53 * the handler to handle the requests from the client. No authenticator is 92 * <code>Authenticator</code> to use to respond to authentication challenge 120 * @param auth the <code>Authenticator</code> to use with this connection; 121 * if <code>null</code> then no <code>Authenticator</code> will be 127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
AuthenticationService.java | 23 private Authenticator mAuthenticator; 27 mAuthenticator = new Authenticator(this);
|
BluetoothPbapObexAuthenticator.java | 22 import javax.obex.Authenticator; 25 class BluetoothPbapObexAuthenticator implements Authenticator {
|
Authenticator.java | 27 public class Authenticator extends AbstractAccountAuthenticator { 30 public Authenticator(Context context) {
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
Authenticator.java | 24 public interface Authenticator {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/ |
RecordingAuthenticator.java | 18 import java.net.Authenticator; 23 public final class RecordingAuthenticator extends Authenticator {
|
RecordingOkAuthenticator.java | 18 import com.squareup.okhttp.Authenticator; 25 public final class RecordingOkAuthenticator implements Authenticator {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Authenticator.java | 24 public interface Authenticator {
|
Address.java | 46 final Authenticator authenticator; field in class:Address 53 CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, 57 if (authenticator == null) throw new IllegalArgumentException("authenticator == null"); 67 this.authenticator = authenticator; 108 * Returns the client's authenticator. This method never returns null. 110 public Authenticator getAuthenticator() [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
AuthenticatorService.java | 29 * A generic stub account authenticator service often used for sync adapters that do not directly 35 private static Authenticator mAuthenticator; 39 mAuthenticator = new Authenticator(this); 48 * Stub account authenticator. All methods either return null or throw an exception. 50 public class Authenticator extends AbstractAccountAuthenticator { 51 public Authenticator(Context context) {
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
AuthenticationService.java | 17 package com.example.android.samplesync.authenticator; 25 * Service to handle Account authentication. It instantiates the authenticator 32 private Authenticator mAuthenticator; 39 mAuthenticator = new Authenticator(this);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/accounts/ |
GenericAccountService.java | 33 private Authenticator mAuthenticator; 41 * that "caller uid XXXXX is different than the authenticator's uid". 62 mAuthenticator = new Authenticator(this); 75 public class Authenticator extends AbstractAccountAuthenticator { 76 public Authenticator(Context context) {
|
/developers/samples/android/common/src/java/com/example/android/common/accounts/ |
GenericAccountService.java | 33 private Authenticator mAuthenticator; 41 * that "caller uid XXXXX is different than the authenticator's uid". 62 mAuthenticator = new Authenticator(this); 75 public class Authenticator extends AbstractAccountAuthenticator { 76 public Authenticator(Context context) {
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/ |
GenericAccountService.java | 33 private Authenticator mAuthenticator; 41 * that "caller uid XXXXX is different than the authenticator's uid". 62 mAuthenticator = new Authenticator(this); 75 public class Authenticator extends AbstractAccountAuthenticator { 76 public Authenticator(Context context) {
|
/external/jetty/src/java/org/eclipse/jetty/security/ |
DefaultAuthenticatorFactory.java | 23 import org.eclipse.jetty.security.Authenticator.AuthConfiguration; 34 * The Default Authenticator Factory. 35 * Uses the {@link AuthConfiguration#getAuthMethod()} to select an {@link Authenticator} from: <ul> 53 public class DefaultAuthenticatorFactory implements Authenticator.Factory 57 public Authenticator getAuthenticator(Server server, ServletContext context, AuthConfiguration configuration, IdentityService identityService, LoginService loginService) 60 Authenticator authenticator=null; local 63 authenticator=new BasicAuthenticator(); 65 authenticator=new DigestAuthenticator(); 67 authenticator=new FormAuthenticator() [all...] |
Authenticator.java | 32 * Authenticator Interface 34 * An Authenticator is responsible for checking requests and sending 41 public interface Authenticator 45 * Configure the Authenticator 62 * been sent by the Authenticator (which can be done for both successful and unsuccessful authentications), then the result will 86 * Authenticator Configuration 116 * Authenticator Factory 120 Authenticator getAuthenticator(Server server, ServletContext context, AuthConfiguration configuration, IdentityService identityService, LoginService loginService);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
AuthenticatorAdapter.java | 18 import com.squareup.okhttp.Authenticator; 25 import java.net.Authenticator.RequestorType; 32 /** Adapts {@link java.net.Authenticator} to {@link com.squareup.okhttp.Authenticator}. */ 33 public final class AuthenticatorAdapter implements Authenticator { 34 /** Uses the global authenticator to get the password. */ 35 public static final Authenticator INSTANCE = new AuthenticatorAdapter(); 45 PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication( 68 PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication(
|
/libcore/ojluni/src/main/java/java/net/ |
Authenticator.java | 29 * The class Authenticator represents an object that knows how to obtain 42 * with the system by calling {@link #setDefault(Authenticator)}. 50 * @see java.net.Authenticator#setDefault(java.net.Authenticator) 51 * @see java.net.Authenticator#getPasswordAuthentication() 60 class Authenticator { 62 // The system-wide authenticator object. See setDefault(). 63 private static Authenticator theAuthenticator; 103 * Sets the authenticator that will be used by the networking code 111 * @param a The authenticator to be set. If a is <code>null</code> the [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
Authenticate.java | 18 import com.squareup.okhttp.Authenticator; 30 client.setAuthenticator(new Authenticator() {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapAuthenticator.java | 39 import javax.obex.Authenticator; 46 public class BluetoothPbapAuthenticator implements Authenticator {
|
/external/jetty/src/java/org/eclipse/jetty/security/authentication/ |
LoginAuthenticator.java | 26 import org.eclipse.jetty.security.Authenticator; 33 public abstract class LoginAuthenticator implements Authenticator
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
OkHttpClientTest.java | 23 import java.net.Authenticator; 51 private static final Authenticator DEFAULT_AUTHENTICATOR = null; // No Authenticator.getDefault(). 57 Authenticator.setDefault(DEFAULT_AUTHENTICATOR); 115 Authenticator authenticator = new RecordingAuthenticator(); local 122 Authenticator.setDefault(authenticator);
|