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

12345

/external/okhttp/src/main/java/libcore/net/http/
H A DChallenge.java24 final String realm; field in class:Challenge
26 Challenge(String scheme, String realm) { argument
28 this.realm = realm;
34 && ((Challenge) o).realm.equals(realm);
38 return scheme.hashCode() + 31 * realm.hashCode();
/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/net/base/
H A Dauth.cc16 this->realm == that.realm);
/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/webkit/Source/WebCore/platform/network/
H A DProtectionSpace.cpp50 ProtectionSpace::ProtectionSpace(const String& host, int port, ProtectionSpaceServerType serverType, const String& realm, ProtectionSpaceAuthenticationScheme authenticationScheme) argument
54 , m_realm(realm.length() ? realm : "")
83 const String& ProtectionSpace::realm() const function in class:WebCore::ProtectionSpace
114 // Ignore realm for proxies
115 if (!a.isProxy() && a.realm() != b.realm())
H A DProtectionSpace.h59 ProtectionSpace(const String& host, int port, ProtectionSpaceServerType, const String& realm, ProtectionSpaceAuthenticationScheme);
69 const String& realm() const;
H A DProtectionSpaceHash.h42 protectionSpace.realm().impl() ? protectionSpace.realm().impl()->hash() : 0
46 // Ignore realm for proxies.
/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...]
H A Dhttp_auth_cache.cc68 // Performance: O(n), where n is the number of realm entries.
70 const std::string& realm,
74 // Linear scan through the realm entries.
76 if (it->origin() == origin && it->realm() == realm &&
80 return NULL; // No realm entry found.
83 // Performance: O(n*m), where n is the number of realm entries, m is the number
84 // of path entries per realm. Both n amd m are expected to be small; m is
99 // Linear scan through the realm entries.
112 const std::string& realm,
69 Lookup(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme) argument
111 Add(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge, const string16& username, const string16& password, const std::string& path) argument
199 Remove(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const string16& username, const string16& password) argument
217 UpdateStaleChallenge(const GURL& origin, const std::string& realm, HttpAuth::Scheme scheme, const std::string& auth_challenge) argument
[all...]
H A Dhttp_auth_cache_unittest.cc23 const std::string& realm,
27 realm_ = realm;
74 // Test adding and looking-up cache entries (both by realm and by path).
87 cache.Add(origin, realm1_handler->realm(), realm1_handler->auth_scheme(),
88 "Basic realm=Realm1", ASCIIToUTF16("realm1-user"),
95 cache.Add(origin, realm2_handler->realm(), realm2_handler->auth_scheme(),
96 "Basic realm=Realm2", ASCIIToUTF16("realm2-user"),
103 cache.Add(origin, realm3_basic_handler->realm(),
104 realm3_basic_handler->auth_scheme(), "Basic realm=Realm3",
112 cache.Add(origin, realm3_digest_handler->realm(),
22 MockAuthHandler(HttpAuth::Scheme scheme, const std::string& realm, HttpAuth::Target target) argument
[all...]
/external/webkit/Source/WebKit2/UIProcess/Authentication/
H A DWebProtectionSpace.cpp48 const String& WebProtectionSpace::realm() const function in class:WebKit::WebProtectionSpace
50 return m_coreProtectionSpace.realm();
H A DWebProtectionSpace.h47 const String& realm() const;
/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/chrome/browser/ui/login/
H A Dlogin_prompt_unittest.cc16 auth_info->realm = L"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/webkit/Source/WebKit/win/
H A DWebURLProtectionSpace.h57 /* [in] */ BSTR realm,
64 /* [in] */ BSTR realm,
79 virtual HRESULT STDMETHODCALLTYPE 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 ...
/external/webkit/Source/WebKit/mac/Panels/
H A DWebAuthenticationPanel.m131 NSString *realm = [space realm];
132 if (!realm)
133 realm = @"";
136 // Consider the realm name to be "simple" if it does not contain any whitespace or newline characters.
137 // If the realm name is determined to be complex, we will use a slightly different sheet layout, designed
138 // to keep a malicious realm name from spoofing the wording in the sheet text.
139 BOOL realmNameIsSimple = [realm rangeOfCharacterFromSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]].location == NSNotFound;
149 "prompt string in authentication panel"), realm, host];
162 "prompt string in authentication panel"), realm, hos
[all...]
/external/webkit/Source/WebKit2/UIProcess/API/C/
H A DWKProtectionSpace.cpp51 return toCopiedAPI(toImpl(protectionSpaceRef)->realm());
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dgas_serv.c247 struct hostapd_nai_realm_data *realm)
251 wpabuf_put_u8(buf, realm->eap_method_count);
253 for (i = 0; i < realm->eap_method_count; i++) {
254 struct hostapd_nai_realm_eap *eap = &realm->eap_method[i];
268 struct hostapd_nai_realm_data *realm,
273 wpa_printf(MSG_DEBUG, "realm=%s, len=%d", realm->realm[realm_idx],
274 (int) os_strlen(realm->realm[realm_id
246 anqp_add_nai_realm_eap(struct wpabuf *buf, struct hostapd_nai_realm_data *realm) argument
267 anqp_add_nai_realm_data(struct wpabuf *buf, struct hostapd_nai_realm_data *realm, unsigned int realm_idx) argument
291 struct hostapd_nai_realm_data *realm; local
389 struct hostapd_nai_realm_data *realm; local
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dgas_serv.c247 struct hostapd_nai_realm_data *realm)
251 wpabuf_put_u8(buf, realm->eap_method_count);
253 for (i = 0; i < realm->eap_method_count; i++) {
254 struct hostapd_nai_realm_eap *eap = &realm->eap_method[i];
268 struct hostapd_nai_realm_data *realm,
273 wpa_printf(MSG_DEBUG, "realm=%s, len=%d", realm->realm[realm_idx],
274 (int) os_strlen(realm->realm[realm_id
246 anqp_add_nai_realm_eap(struct wpabuf *buf, struct hostapd_nai_realm_data *realm) argument
267 anqp_add_nai_realm_data(struct wpabuf *buf, struct hostapd_nai_realm_data *realm, unsigned int realm_idx) argument
291 struct hostapd_nai_realm_data *realm; local
389 struct hostapd_nai_realm_data *realm; local
[all...]

Completed in 497 milliseconds

12345