Home
last modified time | relevance | path

Searched refs:realm (Results 1 – 25 of 164) sorted by relevance

1234567

/external/wpa_supplicant_8/hs20/server/
Dspp_server.c48 const char *realm, const char *session_id,
50 static char * db_get_osu_config_val(struct hs20_svc *ctx, const char *realm,
53 const char *realm, int use_dmacc);
57 const char *user, const char *realm, in db_add_session() argument
70 sessionid, user ? user : "", realm ? realm : "", in db_add_session()
87 const char *realm, const char *sessionid, in db_update_session_password() argument
94 pw, sessionid, user, realm); in db_update_session_password()
107 const char *realm, const char *sessionid, in db_add_session_pps() argument
118 str, sessionid, user, realm); in db_add_session_pps()
179 const char *user, const char *realm, in db_remove_session() argument
[all …]
Dsql-example.txt1 INSERT INTO osu_config(realm,field,value) VALUES('example.com','fqdn','example.com');
2 INSERT INTO osu_config(realm,field,value) VALUES('example.com','friendly_name','Example Operator');
3 …NTO osu_config(realm,field,value) VALUES('example.com','spp_http_auth_url','https://subscription-s…
4 INSERT INTO osu_config(realm,field,value) VALUES('example.com','trust_root_cert_url','https://osu-s…
5 INSERT INTO osu_config(realm,field,value) VALUES('example.com','trust_root_cert_fingerprint','5b393…
6 INSERT INTO osu_config(realm,field,value) VALUES('example.com','aaa_trust_root_cert_url','https://o…
7 INSERT INTO osu_config(realm,field,value) VALUES('example.com','aaa_trust_root_cert_fingerprint','5…
8 INSERT INTO osu_config(realm,field,value) VALUES('example.com','free_account','free');
9 …T INTO osu_config(realm,field,value) VALUES('example.com','policy_url','https://subscription-serve…
10 INSERT INTO osu_config(realm,field,value) VALUES('example.com','remediation_url','https://subscript…
[all …]
Dsql.txt3 realm TEXT,
15 realm TEXT,
31 realm TEXT,
43 realm TEXT,
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DHttpAuthDatabaseTest.java38 String realm = "testrealm"; in testAccessHttpAuthUsernamePassword() local
42 String[] result = instance.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
45 instance.setHttpAuthUsernamePassword(host, realm, userName, password); in testAccessHttpAuthUsernamePassword()
46 result = instance.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
52 instance.setHttpAuthUsernamePassword(host, realm, userName, newPassword); in testAccessHttpAuthUsernamePassword()
53 result = instance.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
59 instance.setHttpAuthUsernamePassword(host, realm, newUserName, newPassword); in testAccessHttpAuthUsernamePassword()
60 result = instance.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
65 instance.setHttpAuthUsernamePassword(host, realm, null, password); in testAccessHttpAuthUsernamePassword()
66 result = instance.getHttpAuthUsernamePassword(host, realm); in testAccessHttpAuthUsernamePassword()
[all …]
/external/apache-http/src/org/apache/http/auth/
DAuthScope.java81 private final String realm; field in AuthScope
107 final String realm, final String scheme) in AuthScope() argument
111 this.realm = (realm == null) ? ANY_REALM: realm; in AuthScope()
129 public AuthScope(final String host, int port, final String realm) { in AuthScope() argument
130 this(host, port, realm, ANY_SCHEME); in AuthScope()
158 this.realm = authscope.getRealm(); in AuthScope()
180 return this.realm; in getRealm()
206 if (LangUtils.equals(this.realm, that.realm)) { in match()
209 if (this.realm != ANY_REALM && that.realm != ANY_REALM) { in match()
248 && LangUtils.equals(this.realm, that.realm) in equals()
[all …]
/external/wpa_supplicant_8/hs20/server/www/
Dspp.php16 $realm = $_GET["realm"]; variable
17 $realm = PREG_REPLACE("/[^0-9a-zA-Z\.\-]/i", '', $realm); variable
54 "WHERE identity='$user' AND realm='$realm'")->fetch();
57 "WHERE osu_user='$user' AND realm='$realm'")->fetch();
70 $A1 = md5($user . ':' . $realm . ':' . $pw);
86 header('WWW-Authenticate: Digest realm="'.$realm.
87 '",qop="auth",nonce="'.uniqid().'",opaque="'.md5($realm).'"');
98 putenv("HS20REALM=$realm");
108 header('WWW-Authenticate: Digest realm="'.$realm.
109 '",qop="auth",nonce="'.uniqid().'",opaque="'.md5($realm).'"');
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=$realm");
65 $A1 = md5($user . ':' . $realm . ':' . $pw);
70 error_log("EST: Incorrect authentication response for user=$user realm=$realm");
77 $fname = "$osu_root/est/$realm-cacerts.pkcs7";
79 error_log("EST: cacerts - unknown realm $realm");
[all …]
Dadd-free.php24 $realm = $row['realm']; variable
26 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fe…
33 $row = $db->query("SELECT password FROM users WHERE identity='$user' AND realm='$realm'")->fetch();
39 if (!$db->exec("UPDATE sessions SET user='$user', password='$pw', realm='$realm', machine_managed='…
44 "VALUES ('$user', '$realm', '$id', " .
Dadd-mo.php32 $realm = $row['realm']; variable
34 $userrow = $db->query("SELECT identity FROM users WHERE identity='$user' AND realm='$realm'")->fetc…
45 if (!$db->exec("UPDATE sessions SET user='$user', password='$pw', realm='$realm', type='password' W…
50 "VALUES ('$user', '$realm', '$id', " .
Dsignup.php22 $realm = $row['realm']; variable
24 echo "<h3>Sign up for a subscription - $realm</h3>\n";
26 $row = $db->query("SELECT value FROM osu_config WHERE realm='$realm' AND field='free_account'")->fe…
/external/chromium_org/net/http/
Dhttp_auth_handler_basic.cc38 std::string* realm) { in ParseRealm() argument
39 CHECK(realm); in ParseRealm()
40 realm->clear(); in ParseRealm()
47 realm)) { in ParseRealm()
69 std::string realm; in ParseChallenge() local
70 if (!ParseRealm(*challenge, &realm)) in ParseChallenge()
73 realm_ = realm; in ParseChallenge()
82 std::string realm; in HandleAnotherChallenge() local
83 if (!ParseRealm(*challenge, &realm)) in HandleAnotherChallenge()
85 return (realm_ != realm)? in HandleAnotherChallenge()
Dhttp_auth_cache_unittest.cc25 const std::string& realm, in MockAuthHandler() argument
29 realm_ = realm; in MockAuthHandler()
93 cache.Add(origin, realm1_handler->realm(), realm1_handler->auth_scheme(), in TEST()
102 cache.Add(origin, realm2_handler->realm(), realm2_handler->auth_scheme(), in TEST()
113 realm3_basic_handler->realm(), in TEST()
123 cache.Add(origin, realm3_digest_handler->realm(), in TEST()
133 cache.Add(origin, realm4_basic_handler->realm(), in TEST()
158 EXPECT_EQ(kRealm3, entry->realm()); in TEST()
170 EXPECT_EQ(kRealm3, entry->realm()); in TEST()
181 EXPECT_EQ(kRealm2, entry->realm()); in TEST()
[all …]
Dhttp_auth_cache.cc81 const std::string& realm, in Lookup() argument
89 if (it->origin() == origin && it->realm() == realm && in Lookup()
136 const std::string& realm, in Add() argument
147 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme); in Add()
165 entry->realm_ = realm; in Add()
170 DCHECK_EQ(realm, entry->realm_); in Add()
236 const std::string& realm, in Remove() argument
240 if (it->origin() == origin && it->realm() == realm && in Remove()
253 const std::string& realm, in UpdateStaleChallenge() argument
256 HttpAuthCache::Entry* entry = Lookup(origin, realm, scheme); in UpdateStaleChallenge()
[all …]
Dhttp_auth_cache.h39 const std::string realm() const { in realm() function
124 const std::string& realm,
148 const std::string& realm,
162 const std::string& realm,
172 const std::string& realm,
/external/ppp/pppd/plugins/radius/
Dradrealms.c44 char *realm; in lookup_realm() local
55 realm = strrchr(user, '@'); in lookup_realm()
57 if (realm) { in lookup_realm()
58 info("Looking up servers for realm '%s'", realm); in lookup_realm()
62 if (realm) { in lookup_realm()
63 if (*(++realm) == '\0') { in lookup_realm()
64 realm = NULL; in lookup_realm()
106 if ((realm != NULL && strcmp(p, realm) == 0) || in lookup_realm()
107 (realm == NULL && strcmp(p, "DEFAULT") == 0) ) { in lookup_realm()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DOkAuthenticator.java55 private final String realm; field in OkAuthenticator.Challenge
57 public Challenge(String scheme, String realm) { in Challenge() argument
59 this.realm = realm; in Challenge()
69 return realm; in getRealm()
75 && ((Challenge) o).realm.equals(realm); in equals()
79 return scheme.hashCode() + 31 * realm.hashCode(); in hashCode()
83 return scheme + " realm=\"" + realm + "\""; in toString()
/external/iproute2/misc/
Drtacct.c159 int realm; in dump_abs_db() local
183 for (realm=0; realm<256; realm++) { in dump_abs_db()
188 if (!(rmap[realm>>5] & (1<<(realm&0x1f)))) in dump_abs_db()
191 val = &kern_db->val[realm*4]; in dump_abs_db()
192 rate = &kern_db->rate[realm*4]; in dump_abs_db()
202 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4); in dump_abs_db()
208 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b1, sizeof(b1))); in dump_abs_db()
221 int k, realm; in dump_incr_db() local
244 for (realm=0; realm<256; realm++) { in dump_incr_db()
251 if (!(rmap[realm>>5] & (1<<(realm&0x1f)))) in dump_incr_db()
[all …]
/external/ppp/pppd/plugins/radius/etc/
Drealms3 # Handle realm @netservers.co.uk on an internal RADIUS server
4 # (note the server must be told to strip the realm)
9 # users in realm @example.com are handled by separate servers
14 # the DEFAULT realm matches users that do not supply a realm
22 # DEFAULT realm match, above.
/external/libnl/include/netlink/route/
Drtnl.h35 #define RTNL_REALM_FROM(realm) ((realm) >> 16) argument
40 #define RTNL_REALM_TO(realm) ((realm) & RTNL_REALM_MASK) argument
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/
DDataReductionProxySettings.java148 public boolean isAcceptableAuthChallenge(String host, String realm) { in isAcceptableAuthChallenge() argument
149 return nativeIsAcceptableAuthChallenge(mNativeDataReductionProxySettings, host, realm); in isAcceptableAuthChallenge()
159 public String getTokenForAuthChallenge(String host, String realm) { in getTokenForAuthChallenge() argument
160 return nativeGetTokenForAuthChallenge(mNativeDataReductionProxySettings, host, realm); in getTokenForAuthChallenge()
217 long nativeDataReductionProxySettingsAndroid, String host, String realm); in nativeIsAcceptableAuthChallenge() argument
219 long nativeDataReductionProxySettingsAndroid, String host, String realm); in nativeGetTokenForAuthChallenge() argument
/external/iptables/extensions/
Dlibipt_realm.man1 This matches the routing realm. Routing realms are used in complex routing
4 [\fB!\fP] \fB\-\-realm\fP \fIvalue\fP[\fB/\fP\fImask\fP]
5 Matches a given realm number (and optionally mask). If not a number, value
6 can be a named realm from /etc/iproute2/rt_realms (mask can not be used in
/external/wpa_supplicant_8/src/ap/
Dgas_serv.c259 struct hostapd_nai_realm_data *realm) in anqp_add_nai_realm_eap() argument
263 wpabuf_put_u8(buf, realm->eap_method_count); in anqp_add_nai_realm_eap()
265 for (i = 0; i < realm->eap_method_count; i++) { in anqp_add_nai_realm_eap()
266 struct hostapd_nai_realm_eap *eap = &realm->eap_method[i]; in anqp_add_nai_realm_eap()
280 struct hostapd_nai_realm_data *realm, in anqp_add_nai_realm_data() argument
285 wpa_printf(MSG_DEBUG, "realm=%s, len=%d", realm->realm[realm_idx], in anqp_add_nai_realm_data()
286 (int) os_strlen(realm->realm[realm_idx])); in anqp_add_nai_realm_data()
288 wpabuf_put_u8(buf, realm->encoding); in anqp_add_nai_realm_data()
289 wpabuf_put_u8(buf, os_strlen(realm->realm[realm_idx])); in anqp_add_nai_realm_data()
290 wpabuf_put_str(buf, realm->realm[realm_idx]); in anqp_add_nai_realm_data()
[all …]
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
DHttpAuthDatabase.java166 public void setHttpAuthUsernamePassword(String host, String realm, String username, in setHttpAuthUsernamePassword() argument
168 if (host == null || realm == null || !waitForInit()) { in setHttpAuthUsernamePassword()
174 c.put(HTTPAUTH_REALM_COL, realm); in setHttpAuthUsernamePassword()
190 public String[] getHttpAuthUsernamePassword(String host, String realm) { in getHttpAuthUsernamePassword() argument
191 if (host == null || realm == null || !waitForInit()) { in getHttpAuthUsernamePassword()
205 new String[] { host, realm }, null, null, null); in getHttpAuthUsernamePassword()
/external/chromium_org/components/auto_login_parser/
Dauto_login_parser.cc21 bool MatchRealm(const std::string& realm, RealmRestriction restriction) { in MatchRealm() argument
24 return realm == "com.google"; in MatchRealm()
60 local_params.realm = unescaped_value; in ParseHeader()
67 if (local_params.realm.empty() || local_params.args.empty()) in ParseHeader()
/external/chromium_org/chrome/utility/importer/
Dnss_decryptor.cc173 std::string realm; in ParseSignons() local
187 realm = lines[begin].substr(start, end - start); in ParseSignons()
198 if (!realm.empty()) in ParseSignons()
199 form.signon_realm += realm; in ParseSignons()
270 std::string realm(s2.ColumnString(1)); in ReadAndParseSignons() local
271 if (!realm.empty()) { in ReadAndParseSignons()
287 if (!realm.empty()) { in ReadAndParseSignons()
288 form.signon_realm += realm; in ReadAndParseSignons()

1234567