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

1234567

/external/libnl/include/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_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.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.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).
38 // The case-sensitive realm string of the challenge.
39 const std::string realm() const { function in class:net::HttpAuthCache::Entry
73 // Adds a path defining the realm's protection space. If the path is
77 // Returns true if |dir| is contained within the realm's protection
98 // List of paths that define the realm's protection space.
117 // Find the realm entr
[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/apache-http/src/org/apache/http/auth/
H A DAuthScope.java39 * a port number, a realm name and an authentication scheme name which
66 * The <tt>null</tt> value represents any realm.
76 * Default scope matching any host, port, realm and authentication scheme.
85 /** The realm the credentials apply to. */
86 private final String realm; field in class:AuthScope
95 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
104 * @param realm the realm the credentials apply to. May be set
106 * any realm.
112 final String realm, fina
111 AuthScope(final String host, int port, final String realm, final String scheme) argument
134 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/wpa_supplicant_8/hs20/server/www/
H A Dspp.php15 if (isset($_GET["realm"])) {
16 $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
[all...]
H A Dredirect.php25 $realm = $row['realm']; variable
27 $db->exec("INSERT INTO eventlog(user,realm,sessionid,timestamp,notes) " .
28 "VALUES ('$user', '$realm', '$id', " .
H A Dcert-enroll.php24 $realm = $row['realm']; variable
32 $db->exec("INSERT INTO eventlog(user,realm,sessionid,timestamp,notes) " .
33 "VALUES ('', '$realm', '$id', " .
/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/wpa_supplicant_8/hs20/server/
H A 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,
65 sql = sqlite3_mprintf("INSERT INTO sessions(timestamp,id,user,realm,"
70 sessionid, user ? user : "", realm ? realm : "",
87 const char *realm, const char *sessionid,
93 "user=%Q AND realm=%Q",
94 pw, sessionid, user, realm);
56 db_add_session(struct hs20_svc *ctx, const char *user, const char *realm, const char *sessionid, const char *pw, const char *redirect_uri, enum hs20_session_operation operation) argument
86 db_update_session_password(struct hs20_svc *ctx, const char *user, const char *realm, const char *sessionid, const char *pw) argument
106 db_add_session_pps(struct hs20_svc *ctx, const char *user, const char *realm, const char *sessionid, xml_node_t *node) argument
178 db_remove_session(struct hs20_svc *ctx, const char *user, const char *realm, const char *sessionid) argument
203 hs20_eventlog(struct hs20_svc *ctx, const char *user, const char *realm, const char *sessionid, const char *notes, const char *dump) argument
241 hs20_eventlog_node(struct hs20_svc *ctx, const char *user, const char *realm, const char *sessionid, const char *notes, xml_node_t *node) argument
257 db_update_mo_str(struct hs20_svc *ctx, const char *user, const char *realm, const char *name, const char *str) argument
278 db_update_mo(struct hs20_svc *ctx, const char *user, const char *realm, const char *name, xml_node_t *mo) argument
299 add_text_node_conf(struct hs20_svc *ctx, const char *realm, xml_node_t *parent, const char *name, const char *field) argument
358 db_get_val(struct hs20_svc *ctx, const char *user, const char *realm, const char *field, int dmacc) argument
387 db_update_val(struct hs20_svc *ctx, const char *user, const char *realm, const char *field, const char *val, int dmacc) argument
418 db_get_session_val(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, const char *field) argument
452 update_password(struct hs20_svc *ctx, const char *user, const char *realm, const char *pw, int dmacc) argument
545 build_credential_pw(struct hs20_svc *ctx, const char *user, const char *realm, const char *pw) argument
567 build_credential(struct hs20_svc *ctx, const char *user, const char *realm, char *new_pw, size_t new_pw_len) argument
578 build_credential_cert(struct hs20_svc *ctx, const char *user, const char *realm, const char *cert_fingerprint) argument
655 build_sub_rem_resp(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, int machine_rem, int dmacc) argument
730 machine_remediation(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, int dmacc) argument
739 policy_remediation(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, int dmacc) argument
812 user_remediation(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, const char *redirect_uri) argument
833 free_remediation(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, const char *redirect_uri) argument
855 no_sub_rem(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id) argument
870 hs20_subscription_remediation(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, int dmacc, const char *redirect_uri) argument
929 build_policy(struct hs20_svc *ctx, const char *user, const char *realm, int use_dmacc) argument
984 hs20_policy_update(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id, int dmacc) argument
1124 hs20_subscription_registration(struct hs20_svc *ctx, const char *realm, const char *session_id, const char *redirect_uri) argument
1155 hs20_user_input_remediation(struct hs20_svc *ctx, const char *user, const char *realm, int dmacc, const char *session_id) argument
1164 db_get_osu_config_val(struct hs20_svc *ctx, const char *realm, const char *field) argument
1191 build_pps(struct hs20_svc *ctx, const char *user, const char *realm, const char *pw, const char *cert, int machine_managed) argument
1255 spp_exec_get_certificate(struct hs20_svc *ctx, const char *session_id, const char *user, const char *realm) argument
1309 char *user, *realm, *pw, *type, *mm; local
1415 hs20_user_input_free_remediation(struct hs20_svc *ctx, const char *user, const char *realm, const char *session_id) argument
1467 hs20_user_input_complete(struct hs20_svc *ctx, const char *user, const char *realm, int dmacc, const char *session_id) argument
1504 hs20_cert_enroll_completed(struct hs20_svc *ctx, const char *user, const char *realm, int dmacc, const char *session_id) argument
1530 hs20_cert_enroll_failed(struct hs20_svc *ctx, const char *user, const char *realm, int dmacc, const char *session_id) argument
1570 hs20_spp_post_dev_data(struct hs20_svc *ctx, xml_node_t *node, const char *user, const char *realm, const char *session_id, int dmacc) argument
1868 char *user, *realm, *pw, *pw_mm, *pps, *str; local
1991 hs20_spp_update_response(struct hs20_svc *ctx, xml_node_t *node, const char *user, const char *realm, const char *session_id, int dmacc) argument
[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";
59 if (key == "realm") {
62 local_params.realm = unescaped_value;
69 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/android/infobars/
H A Dauto_login_infobar_delegate_android.h32 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/chrome/browser/ui/login/
H A Dlogin_prompt_unittest.cc15 auth_info->realm = "WallyWorld";
/external/iproute2/ip/
H A Drtm_map.c98 __u32 realm = 0; local
112 if (*arg && rtnl_rtrealm_a2n(&realm, arg))
114 *realms |= realm;
/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 ...

Completed in 664 milliseconds

1234567