HomeSort by relevance Sort by last modified time
    Searched refs:Authenticator (Results 1 - 25 of 85) sorted by null

1 2 3 4

  /external/chromium/chrome/browser/chromeos/login/
authenticator_unittest.cc 5 #include "chrome/browser/chromeos/login/authenticator.h"
13 EXPECT_EQ(lower_case, Authenticator::Canonicalize(lower_case));
17 EXPECT_EQ(Authenticator::Canonicalize("user@what.com"),
18 Authenticator::Canonicalize("UsEr@what.com"));
22 EXPECT_EQ(Authenticator::Canonicalize("user@what.com"),
23 Authenticator::Canonicalize("UsEr@what.COM"));
27 EXPECT_NE(Authenticator::Canonicalize("u.ser@what.com"),
28 Authenticator::Canonicalize("UsEr@what.com"));
32 EXPECT_EQ(Authenticator::Canonicalize("u.ser@what.com"),
33 Authenticator::Canonicalize("U.sEr@what.com"))
    [all...]
authenticator.cc 5 #include "chrome/browser/chromeos/login/authenticator.h"
18 const char Authenticator::kSpecialCaseDomain[] = "gmail.com";
20 Authenticator::Authenticator(LoginStatusConsumer* consumer)
24 Authenticator::~Authenticator() {}
27 std::string Authenticator::Canonicalize(const std::string& email_address) {
authenticator.h 24 class Authenticator : public base::RefCountedThreadSafe<Authenticator> {
29 explicit Authenticator(LoginStatusConsumer* consumer);
30 virtual ~Authenticator();
100 DISALLOW_COPY_AND_ASSIGN(Authenticator);
login_utils.h 24 class Authenticator;
67 // Creates and returns the authenticator to use. The caller owns the returned
68 // Authenticator and must delete it when done.
69 virtual Authenticator* CreateAuthenticator(LoginStatusConsumer* consumer) = 0;
screen_locker.h 31 class Authenticator;
87 // Authenticates the user with given |password| and authenticator.
144 // Sets the authenticator.
145 void SetAuthenticator(Authenticator* authenticator);
203 scoped_refptr<Authenticator> authenticator_;
mock_authenticator.h 11 #include "chrome/browser/chromeos/login/authenticator.h"
24 class MockAuthenticator : public Authenticator {
29 : Authenticator(consumer),
131 virtual Authenticator* CreateAuthenticator(LoginStatusConsumer* consumer) {
login_performer.cc 288 &Authenticator::LoginOffTheRecord));
295 &Authenticator::RecoverEncryptedData,
305 &Authenticator::ResyncEncryptedData,
472 &Authenticator::AuthenticateToLogin,
480 << "Authenticator instance doesn't exist for login attempt retry.";
482 // retry online auth, using existing Authenticator instance.
486 &Authenticator::RetryAuth,
login_performer.h 14 #include "chrome/browser/chromeos/login/authenticator.h"
153 scoped_refptr<Authenticator> authenticator_;
  /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;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
AuthenticatorTest.java 22 import java.net.Authenticator;
30 import java.net.Authenticator.RequestorType;
38 * @tests java.net.Authenticator.RequestorType#valueOf(String)
41 assertEquals(RequestorType.PROXY, Authenticator.RequestorType
43 assertEquals(RequestorType.SERVER, Authenticator.RequestorType
46 RequestorType rt = Authenticator.RequestorType.valueOf("BADNAME");
54 Authenticator.RequestorType.valueOf(null);
64 * @tests java.net.Authenticator.RequestorType#values()
73 * @tests java.net.Authenticator#requestPasswordAuthentication(java.net.InetAddress, int, String, String, String)
79 Authenticator.setDefault(mock)
    [all...]
  /frameworks/volley/src/com/android/volley/toolbox/
Authenticator.java 24 public interface Authenticator {
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
RecordingAuthenticator.java 18 import java.net.Authenticator;
23 public final class RecordingAuthenticator extends 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);
Authenticator.java 17 package com.example.android.samplesync.authenticator;
50 class Authenticator extends AbstractAccountAuthenticator {
53 private static final String TAG = "Authenticator";
58 public Authenticator(Context context) {
137 // This call is used to query whether the Authenticator supports
  /developers/samples/android/common/src/com/example/android/common/accounts/
GenericAccountService.java 34 private Authenticator mAuthenticator;
56 mAuthenticator = new Authenticator(this);
69 public class Authenticator extends AbstractAccountAuthenticator {
70 public Authenticator(Context context) {
  /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...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapAuthenticator.java 39 import javax.obex.Authenticator;
46 public class BluetoothPbapAuthenticator implements Authenticator {
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpAuthenticator.java 21 import java.net.Authenticator;
77 // Use the global authenticator to get the password.
81 auth = Authenticator.requestPasswordAuthentication(proxyAddress.getHostName(),
83 challenge.realm, challenge.scheme, url, Authenticator.RequestorType.PROXY);
85 auth = Authenticator.requestPasswordAuthentication(url.getHost(),
87 challenge.scheme, url, Authenticator.RequestorType.SERVER);
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
HttpURLConnectionTest.java 21 import java.net.Authenticator;
369 Authenticator.setDefault(new Authenticator() {
643 // Set up test Authenticator
644 Authenticator.setDefault(new Authenticator() {
671 // remove previously set authenticator
672 Authenticator.setDefault(null);
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
HttpURLConnectionTest.java 23 import java.net.Authenticator;
271 // Set up test Authenticator
272 Authenticator.setDefault(new Authenticator() {
300 // remove previously set authenticator
301 Authenticator.setDefault(null);
  /external/chromium/chrome/browser/ui/webui/options/chromeos/
accounts_options_handler.cc 13 #include "chrome/browser/chromeos/login/authenticator.h"
85 users_settings()->WhitelistUser(Authenticator::Canonicalize(email));
94 users_settings()->UnwhitelistUser(Authenticator::Canonicalize(email));
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant-javamail.jar 

Completed in 821 milliseconds

1 2 3 4