Searched defs:realm (Results 26 - 50 of 99) sorted by relevance

1234

/external/chromium_org/net/http/
H A Dhttp_auth_handler_basic.cc21 // Parses a realm from an auth challenge, and converts to UTF8-encoding.
22 // Returns whether the realm is invalid or the parameters are invalid.
24 // Note that if a realm was not specified, we will default it to "";
25 // so specifying 'Basic realm=""' is equivalent to 'Basic'.
28 // production of challenge that realm is required.
31 // include a realm (see http://crbug.com/20984.)
33 // The over-the-wire realm is encoded as ISO-8859-1 (aka Latin-1).
38 std::string* realm) {
39 CHECK(realm);
40 realm
37 ParseRealm(const HttpAuthChallengeTokenizer& tokenizer, std::string* realm) argument
82 std::string realm; local
[all...]
H A Dhttp_auth_cache.cc79 // Performance: O(n), where n is the number of realm entries.
81 const std::string& realm,
86 // Linear scan through the realm entries.
89 if (it->origin() == origin && it->realm() == realm &&
97 return NULL; // No realm entry found.
100 // Performance: O(n*m), where n is the number of realm entries, m is the number
101 // of path entries per realm. Both n amd m are expected to be small; m is
118 // Linear scan through the realm entries.
136 const std::string& realm,
80 Lookup(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme) argument
135 Add(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge, const AuthCredentials& credentials, const std::string& path) argument
235 Remove(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const AuthCredentials& credentials) argument
256 UpdateStaleChallenge(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge) argument
[all...]
H A Dhttp_auth_cache_unittest.cc25 const std::string& realm,
29 realm_ = realm;
80 // Test adding and looking-up cache entries (both by realm and by path).
93 cache.Add(origin, realm1_handler->realm(), realm1_handler->auth_scheme(),
94 "Basic realm=Realm1",
102 cache.Add(origin, realm2_handler->realm(), realm2_handler->auth_scheme(),
103 "Basic realm=Realm2",
113 realm3_basic_handler->realm(),
115 "Basic realm=Realm3",
123 cache.Add(origin, realm3_digest_handler->realm(),
24 MockAuthHandler(HttpAuth::Scheme scheme, const std::string& realm, HttpAuth::Target target) argument
[all...]
H A Dhttp_auth_handler_digest.cc40 // | ?, md5 | user:realm:password |
42 // | md5-sess | MD5(user:realm:password):nonce:cnonce |
115 // there is a rejection the realm hasn't changed.
121 // Try to find the "stale" value, and also keep track of the realm
128 } else if (LowerCaseEqualsASCII(parameters.name(), "realm")) {
173 // [realm="<realm-value>"]
182 // Note that according to RFC 2617 (section 1.2) the realm is required.
187 // send the realm (See http://crbug.com/20984 for an instance where a
188 // webserver was not sending the realm wit
229 std::string realm; local
[all...]
/external/okhttp/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/wpa_supplicant_8/hs20/server/
H A Dhs20_spp_server.c68 char *user, *realm, *post, *str; local
77 realm = getenv("HS20REALM");
78 if (realm == NULL) {
102 resp = hs20_spp_server_process(ctx, spp, user, realm, dmacc);
/external/wpa_supplicant_8/hs20/server/www/
H A Dusers.php130 echo "<H3>" . $row['identity'] . "@" . $row['realm'] . "</H3>\n";
241 $realm = $row['realm']; variable
254 echo "<th>user<th>realm";
269 $res = $db->query("SELECT rowid,* FROM eventlog WHERE (user='$user' OR user='$osu_user') AND realm='$realm' ORDER BY timestamp DESC LIMIT $limit");
271 $res = $db->query("SELECT rowid,* FROM eventlog WHERE user='$user' AND realm='$realm' ORDER BY timestamp DESC LIMIT $limit");
276 echo "<td>" . $row['realm'] . "\n";
312 echo "<td>" . $row['realm'];
[all...]
H A Dest.php6 $realm = $params[1]; variable
41 "WHERE user='$user' AND realm='$realm'";
44 error_log("EST: Session not found for user=$user realm=$realm");
49 error_log("EST: Session fetch failed for user=$user realm=$realm");
56 error_log("EST: Unexpected operation $oper for user=$user realm=$realm");
61 error_log("EST: Empty password for user=$user realm
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar ... util.Map) java.net.URL serverUrl String realm String authScheme java.util.Map info String url ...
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DHttpAuthDatabase.java46 private static final String HTTPAUTH_REALM_COL = "realm";
167 * @param realm the realm for the password
171 public void setHttpAuthUsernamePassword(String host, String realm, String username, argument
173 if (host == null || realm == null || !waitForInit()) {
179 c.put(HTTPAUTH_REALM_COL, realm);
186 * Retrieves the HTTP authentication username and password for a given host and realm pair. If
187 * there are multiple username/password combinations for a host/realm, only the first one will
191 * @param realm the realm th
195 getHttpAuthUsernamePassword(String host, String realm) argument
[all...]
H A DAwContentsClientCallbackHelper.java54 LoginRequestInfo(String realm, String account, String args) { argument
55 mRealm = realm;
172 public void postOnReceivedLoginRequest(String realm, String account, String args) { argument
173 LoginRequestInfo info = new LoginRequestInfo(realm, account, args);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtestturnserver.h110 virtual bool GetKey(const std::string& username, const std::string& realm, argument
112 return ComputeStunCredentialHash(username, realm, username, key);
H A Dturnport.h177 void set_realm(const std::string& realm) { argument
178 if (realm != realm_) {
179 realm_ = realm;
232 std::string hash_; // Digest of username:realm:password
H A Dturnserver.h59 // Gets HA1 for the specified user and realm.
60 // HA1 = MD5(A1) = MD5(username:realm:password).
61 // Return true if the given username and realm are valid, or false if not.
62 virtual bool GetKey(const std::string& username, const std::string& realm,
83 // Gets/sets the realm value to use for the server.
84 const std::string& realm() const { return realm_; } function in class:cricket::TurnServer
85 void set_realm(const std::string& realm) { realm_ = realm; } argument
/external/chromium_org/chrome/browser/importer/
H A Dfirefox_importer_browsertest.cc41 const char* realm; member in struct:__anon4135::PasswordInfo
153 EXPECT_EQ(p.realm, form.signon_realm);
/external/chromium_org/chrome/browser/password_manager/
H A Dpassword_store_x_unittest.cc218 std::string realm = base::StringPrintf("http://%zu.%s.com", i, domain); local
225 realm.c_str(),
/external/chromium_org/components/password_manager/core/browser/
H A Dpassword_form_manager.h99 // origin matching of the public suffix, instead of the signon realm of the
169 // Returns the realm URL for the form managed my this manager.
170 const std::string& realm() const { function in class:password_manager::PasswordFormManager
/external/iproute2/ip/
H A Diprule.c308 __u32 realm; local
310 if (get_rt_realms(&realm, *argv))
312 addattr32(&req.n, sizeof(req), FRA_FLOW, realm);
/external/nist-sip/java/javax/sip/header/
H A DAuthorizationHeader.java28 void setRealm(String realm) throws ParseException; argument
/external/oauth/core/src/main/java/net/oauth/
H A DOAuthMessage.java309 * the given realm plus all the parameters whose names begin with "oauth_".
311 public String getAuthorizationHeader(String realm) throws IOException { argument
313 if (realm != null) {
314 into.append(" realm=\"").append(OAuth.percentEncode(realm)).append('"');
357 * header. The realm is included as a parameter. If the given header doesn't
/external/openssl/crypto/krb5/
H A Dkrb5_asn.h107 ** realm[1] Realm,
115 ASN1_GENERALSTRING *realm; member in struct:krb5_tktbody_st
/external/openssl/include/openssl/
H A Dkrb5_asn.h107 ** realm[1] Realm,
115 ASN1_GENERALSTRING *realm; member in struct:krb5_tktbody_st
/external/chromium_org/android_webview/native/
H A Daw_contents_io_thread_client_impl.cc359 void AwContentsIoThreadClientImpl::NewLoginRequest(const string& realm, argument
367 ScopedJavaLocalRef<jstring> jrealm = ConvertUTF8ToJavaString(env, realm);
/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/nist-sip/java/gov/nist/javax/sip/header/
H A DAuthenticationHeader.java184 * Sets the Realm of the WWWAuthenicateHeader to the <var>realm</var>
186 * that a realm string contain a hostname or domain name. Realm strings
190 * @param realm
194 * while parsing the realm.
196 public void setRealm(String realm) throws ParseException { argument
197 if (realm == null)
200 + " AuthenticationHeader, setRealm(), The realm parameter is null");
201 setParameter(ParameterNames.REALM, realm);
206 * method returns only the realm of the complete Challenge.

Completed in 539 milliseconds

1234