Searched refs:realm (Results 1 - 25 of 175) sorted by relevance

1234567

/external/libnl-headers/netlink/route/
H A Drtnl.h27 * Mask specying the size of each realm part
33 * Extract FROM realm from a realms field
35 #define RTNL_REALM_FROM(realm) ((realm) >> 16)
38 * Extract TO realm from a realms field
40 #define RTNL_REALM_TO(realm) ((realm) & RTNL_REALM_MASK)
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DHttpAuthDatabaseTest.java38 String realm = "testrealm";
42 String[] result = instance.getHttpAuthUsernamePassword(host, realm);
45 instance.setHttpAuthUsernamePassword(host, realm, userName, password);
46 result = instance.getHttpAuthUsernamePassword(host, realm);
52 instance.setHttpAuthUsernamePassword(host, realm, userName, newPassword);
53 result = instance.getHttpAuthUsernamePassword(host, realm);
59 instance.setHttpAuthUsernamePassword(host, realm, newUserName, newPassword);
60 result = instance.getHttpAuthUsernamePassword(host, realm);
65 instance.setHttpAuthUsernamePassword(host, realm, null, password);
66 result = instance.getHttpAuthUsernamePassword(host, realm);
[all...]
/external/chromium/net/base/
H A Dauth.cc16 this->realm == that.realm);
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-243868.js36 // Create an object with a constant function in another realm.
37 var realm = Realm.create(); variable
38 var realmObject = Realm.eval(realm, "function g() {}; var o = { val:g }; o;")
/external/chromium_org/net/http/
H A Dhttp_auth_handler_basic.cc20 // Parses a realm from an auth challenge, and converts to UTF8-encoding.
21 // Returns whether the realm is invalid or the parameters are invalid.
23 // Note that if a realm was not specified, we will default it to "";
24 // so specifying 'Basic realm=""' is equivalent to 'Basic'.
27 // production of challenge that realm is required.
30 // include a realm (see http://crbug.com/20984.)
32 // The over-the-wire realm is encoded as ISO-8859-1 (aka Latin-1).
37 std::string* realm) {
38 CHECK(realm);
39 realm
36 ParseRealm(const HttpAuth::ChallengeTokenizer& tokenizer, std::string* realm) argument
80 std::string realm; local
[all...]
H A Dhttp_auth_cache.h20 // For each (origin, realm, scheme) triple the cache stores a
24 // - the last auth handler used (contains realm and authentication scheme)
25 // - the list of paths which used this realm
26 // Entries can be looked up by either (origin, realm, scheme) or (origin, path).
41 // Find the realm entry on server |origin| for realm |realm| and
44 // |realm| - case sensitive realm string.
48 const std::string& realm,
118 const std::string realm() const { function in class:net::HttpAuthCache::Entry
[all...]
H A Dhttp_auth_cache.cc70 // Performance: O(n), where n is the number of realm entries.
72 const std::string& realm,
76 // Linear scan through the realm entries.
78 if (it->origin() == origin && it->realm() == realm &&
82 return NULL; // No realm entry found.
85 // Performance: O(n*m), where n is the number of realm entries, m is the number
86 // of path entries per realm. Both n amd m are expected to be small; m is
101 // Linear scan through the realm entries.
114 const std::string& realm,
71 Lookup(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme) argument
113 Add(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge, const AuthCredentials& credentials, const std::string& path) argument
199 Remove(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const AuthCredentials& credentials) argument
216 UpdateStaleChallenge(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge) argument
[all...]
/external/okhttp/src/main/java/com/squareup/okhttp/
H A DOkAuthenticator.java55 private final String realm; field in class:OkAuthenticator.Challenge
57 public Challenge(String scheme, String realm) { argument
59 this.realm = realm;
69 return realm;
75 && ((Challenge) o).realm.equals(realm);
79 return scheme.hashCode() + 31 * realm.hashCode();
83 return scheme + " realm=\"" + realm
[all...]
/external/apache-http/src/org/apache/http/auth/
H A DAuthScope.java39 * a port number, a realm name and an authentication scheme name which
61 * The <tt>null</tt> value represents any realm.
71 * Default scope matching any host, port, realm and authentication scheme.
80 /** The realm the credentials apply to. */
81 private final String realm; field in class:AuthScope
90 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
99 * @param realm the realm the credentials apply to. May be set
101 * any realm.
107 final String realm, fina
106 AuthScope(final String host, int port, final String realm, final String scheme) argument
129 AuthScope(final String host, int port, final String realm) argument
[all...]
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
H A DAccountManager.java13 * @param realm - the realm that is being challenged for which a credential should be
18 UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm); argument
H A DSecureAccountManager.java12 * @param realm - the realm that is being challenged for which a credential should be
17 UserCredentialHash getCredentialHash(ClientTransaction challengedTransaction, String realm); argument
/external/ppp/pppd/plugins/radius/
H A Dradrealms.c6 * allows selection of alternate set of servers based on the user's realm.
44 char *realm; local
55 realm = strrchr(user, '@');
57 if (realm) {
58 info("Looking up servers for realm '%s'", realm);
60 info("Looking up servers for DEFAULT realm");
62 if (realm) {
63 if (*(++realm) == '\0') {
64 realm
[all...]
/external/chromium/net/http/
H A Dhttp_auth_handler_basic.cc17 // Note that if a realm was not specified, we will default it to "";
18 // so specifying 'Basic realm=""' is equivalent to 'Basic'.
21 // production of challenge that realm is required.
24 // include a realm (see http://crbug.com/20984.)
40 // Extract the realm (may be missing).
41 std::string realm; local
43 if (LowerCaseEqualsASCII(parameters.name(), "realm"))
44 realm = parameters.value();
50 realm_ = realm;
58 // is for a different realm, the
60 std::string realm; local
[all...]
H A Dhttp_auth_cache.h21 // For each (origin, realm, scheme) triple the cache stores a
25 // - the last auth handler used (contains realm and authentication scheme)
26 // - the list of paths which used this realm
27 // Entries can be looked up by either (origin, realm, scheme) or (origin, path).
42 // Find the realm entry on server |origin| for realm |realm| and
45 // |realm| - case sensitive realm string.
49 const std::string& realm,
120 const std::string realm() const { function in class:net::HttpAuthCache::Entry
[all...]
/external/chromium_org/components/auto_login_parser/
H A Dauto_login_parser.cc21 bool MatchRealm(const std::string& realm, RealmRestriction restriction) { argument
24 return realm == "com.google";
57 if (pair.first == "realm") {
60 local_params.realm = unescaped_value;
67 if (local_params.realm.empty() || local_params.args.empty())
H A Dauto_login_parser_unittest.cc16 return header.realm.empty() && header.account.empty() &&
23 "realm=com.google&"
30 ASSERT_EQ("com.google", header_data.realm);
37 "realm=com.microsoft&"
59 "realm=com.google&"
69 "realm=com.google&"
74 ASSERT_EQ("com.google", header_data.realm);
80 "realm=com.microsoft&"
87 ASSERT_EQ("com.microsoft", header_data.realm);
H A Dauto_login_parser.h25 // "realm" string from x-auto-login (e.g. "com.google").
26 std::string realm; member in struct:auto_login_parser::HeaderData
/external/iproute2/misc/
H A Drtacct.c159 int realm; local
183 for (realm=0; realm<256; realm++) {
188 if (!(rmap[realm>>5] & (1<<(realm&0x1f))))
191 val = &kern_db->val[realm*4];
192 rate = &kern_db->rate[realm*4];
202 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4);
208 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b
221 int k, realm; local
492 __u32 realm; local
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dauto_login_infobar_delegate_android.h31 const std::string& realm() const { return params_.header.realm; } function in class:AutoLoginInfoBarDelegateAndroid
/external/chromium_org/components/autofill/core/common/
H A Dpassword_form_fill_data.h26 std::string realm; member in struct:autofill::UsernamesCollectionKey
31 std::string realm; member in struct:autofill::PasswordAndRealm
35 // struct are only set when the password's realm differs from the realm of the
46 // The signon realm of the preferred user/pass pair.
H A Dpassword_form_fill_data.cc23 return realm < other.realm;
65 value.realm = iter->second->original_signon_realm;
77 key.realm = iter->second->original_signon_realm;
/external/chromium_org/net/base/
H A Dauth.cc17 this->realm == that.realm);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtestturnserver.h68 virtual bool GetKey(const std::string& username, const std::string& realm, argument
70 return ComputeStunCredentialHash(username, realm, username, key);
/external/chromium/chrome/browser/ui/login/
H A Dlogin_prompt_unittest.cc16 auth_info->realm = L"WallyWorld";
/external/chromium_org/chrome/browser/ui/login/
H A Dlogin_prompt_unittest.cc15 auth_info->realm = "WallyWorld";

Completed in 822 milliseconds

1234567