/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/docs/html/training/sync-adapters/ |
creating-authenticator.jd | 1 page.title=Creating a Stub Authenticator 13 <a href="#CreateAuthenticator">Add a Stub Authenticator Component</a> 16 <a href="#CreateAuthenticatorService">Bind the Authenticator to the Framework</a> 19 <a href="#CreateAuthenticatorFile">Add the Authenticator Metadata File</a> 22 <a href="#DeclareAuthenticator">Declare the Authenticator in the Manifest</a> 45 framework expects you to provide a component called an authenticator as part of your sync 50 Even if your app doesn't use accounts, you still need to provide an authenticator component. 51 If you don't use accounts or server login, the information handled by the authenticator is 52 ignored, so you can provide an authenticator component that contains stub method 54 allows the sync adapter framework to call the authenticator's methods [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
AddressTest.java | 30 private Authenticator authenticator = AuthenticatorAdapter.INSTANCE; field in class:AddressTest 37 authenticator, null, protocols, connectionSpecs, proxySelector); 39 authenticator, null, protocols, connectionSpecs, proxySelector); 46 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector()); 48 authenticator, null, protocols, connectionSpecs, new RecordingProxySelector());
|
OkHttpClientTest.java | 23 import java.net.Authenticator; 51 private static final Authenticator DEFAULT_AUTHENTICATOR = null; // No Authenticator.getDefault(). 57 Authenticator.setDefault(DEFAULT_AUTHENTICATOR); 108 Authenticator authenticator = new RecordingAuthenticator(); local 115 Authenticator.setDefault(authenticator);
|
/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);
|
/external/wpa_supplicant_8/hostapd/ |
hostapd.sim_db | 1 # Example GSM authentication triplet file for EAP-SIM authenticator
|
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_glue.h | 2 * hostapd / WPA authenticator glue code
|
/libcore/luni/src/main/java/java/net/ |
Authenticator.java | 23 * authenticator which extends {@code Authenticator} by {@code 24 * setDefault(Authenticator a)}. Then it should override {@code 31 public abstract class Authenticator { 33 // the default authenticator that needs to be set 34 private static Authenticator thisAuthenticator; 108 * authenticator to get the authentication info. 110 * @return password authentication info or {@code null} if no authenticator 139 // Authenticator 144 * Sets {@code a} as the default authenticator. It will be called wheneve [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
AuthenticatorAdapter.java | 18 import com.squareup.okhttp.Authenticator; 24 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(
|
/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...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
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) {
|
/external/wpa_supplicant_8/src/eapol_auth/ |
eapol_auth_sm_i.h | 2 * IEEE 802.1X-2004 Authenticator - EAPOL state machine (internal definitions) 25 * struct eapol_authenticator - Global EAPOL authenticator data 40 * struct eapol_state_machine - Per-Supplicant Authenticator state machines 67 /* Authenticator PAE state machine */ 117 /* Authenticator Key Transmit state machine */ 133 /* Authenticator Statistics Table */ 150 /* EAPOL/AAA <-> EAP full authenticator interface */
|
/frameworks/base/core/java/android/accounts/ |
AuthenticatorDescription.java | 23 * A {@link Parcelable} value type that contains information about an account authenticator. 26 /** The string that uniquely identifies an authenticator */ 29 /** A resource id of a label for the authenticator that is suitable for displaying */ 32 /** A resource id of a icon for the authenticator */ 35 /** A resource id of a smaller icon for the authenticator */ 47 /** Authenticator handles its own token caching and permission screen */ 71 * to identify the authenticator by its type.
|
AccountManager.java | 64 * authentication, so the account manager uses pluggable <em>authenticator</em> 68 * and Microsoft Exchange each have their own authenticator. 88 * identifies the authenticator. Account <em>features</em> are used to 90 * type and features are authenticator-specific strings, and must be known by 236 * Boolean, if set and 'customTokens' the authenticator is responsible for 246 public static final String AUTHENTICATOR_ATTRIBUTES_NAME = "account-authenticator"; 322 * authenticator that owns the specified account. 345 * and values is up to the authenticator for the account. 350 * authenticator that owns the specified account. 378 * authenticator known to the AccountManager service. Empty (neve [all...] |
/frameworks/base/docs/html/training/id-auth/ |
custom_auth.jd | 18 <li><a href="#TaskFour">Create an Authenticator Service</a></li> 53 authenticator activity.</p> 56 authenticator activities have certain requirements that normal activities don't. To make it easy to 59 authenticator.</p> 61 <p>How you address the first two requirements of an authenticator activity, 104 This class is the <em>authenticator class</em>.</p> 106 <p>The easiest way to create an authenticator class is to extend 114 <p>Implementing an authenticator class properly requires a number of separate 124 <p> You can find a step-by-step guide to implementing a successful authenticator class and the XML 132 used to launch your custom authenticator activity. If your authenticato [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap.h | 2 * hostapd / EAP Full Authenticator state machine (RFC 4137) 44 /* Lower layer to full authenticator variables */ 49 Boolean eapRestart; /* shared with EAPOL Authenticator PAE */ 53 /* Full authenticator to lower layer variables */ 66 /* AAA interface to full authenticator variables */ 77 /* Full authenticator to AAA interface variables */
|
/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 {
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_process.c | 16 int wps_process_authenticator(struct wps_data *wps, const u8 *authenticator, 23 if (authenticator == NULL) { 24 wpa_printf(MSG_DEBUG, "WPS: No Authenticator attribute " 31 "validating authenticator"); 35 /* Authenticator = HMAC-SHA256_AuthKey(M_prev || M_curr*) 36 * (M_curr* is M_curr without the Authenticator attribute) 44 if (os_memcmp_const(hash, authenticator, WPS_AUTHENTICATOR_LEN) != 0) { 45 wpa_printf(MSG_DEBUG, "WPS: Incorrect Authenticator");
|
/packages/apps/Email/res/xml/ |
authenticator_alternate.xml | 23 <!-- The only difference from authenticator.xml is android:label. --> 25 <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
|
/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) {
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
AndroidAuthenticator.java | 29 * An Authenticator that uses {@link AccountManager} to get auth 32 public class AndroidAuthenticator implements Authenticator { 39 * Creates a new authenticator. 49 * Creates a new authenticator. 70 * Returns the Account being used by this authenticator.
|