HomeSort by relevance Sort by last modified time
    Searched refs:realm (Results 1 - 25 of 161) sorted by null

1 2 3 4 5 6 7

  /libcore/luni/src/main/java/libcore/net/http/
Challenge.java 26 final String realm; field in class:Challenge
28 public Challenge(String scheme, String realm) {
30 this.realm = realm;
36 && ((Challenge) o).realm.equals(realm);
40 return scheme.hashCode() + 31 * realm.hashCode();
44 return "Challenge[" + scheme + " " + realm + "]";
  /external/libnl-headers/netlink/route/
rtnl.h 27 * 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/
auth.cc 16 this->realm == that.realm);
auth.h 34 std::wstring realm; // the realm provided by the server, if there is one. member in class:net::AuthChallengeInfo
  /external/apache-http/src/org/apache/http/auth/
AuthScope.java 39 * 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, final String scheme
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
AccountManager.java 13 * @param realm - the realm that is being challenged for which a credential should be
18 UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm);
SecureAccountManager.java 12 * @param realm - the realm that is being challenged for which a credential should be
17 UserCredentialHash getCredentialHash(ClientTransaction challengedTransaction, String realm);
  /external/webkit/Source/WebCore/platform/network/
ProtectionSpace.cpp 50 ProtectionSpace::ProtectionSpace(const String& host, int port, ProtectionSpaceServerType serverType, const String& realm, ProtectionSpaceAuthenticationScheme authenticationScheme)
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())
ProtectionSpace.h 59 ProtectionSpace(const String& host, int port, ProtectionSpaceServerType, const String& realm, ProtectionSpaceAuthenticationScheme);
69 const String& realm() const;
ProtectionSpaceHash.h 42 protectionSpace.realm().impl() ? protectionSpace.realm().impl()->hash() : 0
46 // Ignore realm for proxies.
  /external/ppp/pppd/plugins/radius/
radrealms.c 6 * 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 = NULL
    [all...]
  /cts/tests/tests/webkit/src/android/webkit/cts/
HttpAuthHandlerTest.java 59 String realm; field in class:HttpAuthHandlerTest.ProceedHttpAuthClient
76 HttpAuthHandler handler, String host, String realm) {
82 this.realm = realm;
90 String realm; field in class:HttpAuthHandlerTest.CancelHttpAuthClient
98 HttpAuthHandler handler, String host, String realm) {
99 this.realm = realm;
112 assertEquals(CtsTestServer.AUTH_REALM, client.realm);
124 assertEquals(CtsTestServer.AUTH_REALM, client.realm);
    [all...]
  /external/chromium/net/http/
http_auth_handler_basic.cc 17 // 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, then indicate the realm change
60 std::string realm; local
    [all...]
http_auth_cache.h 21 // 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...]
http_auth_cache.cc 68 // 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,
    [all...]
http_auth_cache_unittest.cc 23 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(),
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/Authentication/
WebProtectionSpace.cpp 48 const String& WebProtectionSpace::realm() const function in class:WebKit::WebProtectionSpace
50 return m_coreProtectionSpace.realm();
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
HttpAuthenticator.java 83 challenge.realm, challenge.scheme, url, Authenticator.RequestorType.PROXY);
86 getConnectToInetAddress(proxy, url), url.getPort(), url.getProtocol(), challenge.realm,
110 * name and realm.
117 // realm = "realm" "=" realm-value
118 // realm-value = quoted-string
133 // TODO: This currently only handles schemes with a 'realm' parameter;
137 if (!value.regionMatches(pos, "realm=\"", 0, "realm=\"".length()))
144 String realm = value.substring(realmStart, pos); local
158 final String realm; field in class:HttpAuthenticator.Challenge
    [all...]
  /external/iproute2/misc/
rtacct.c 159 int realm; local
171 , "Realm", "BytesTo", "PktsTo", "BytesFrom", "PktsFrom");
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)
221 int k, realm; local
492 __u32 realm; local
    [all...]
  /external/chromium/chrome/browser/ui/login/
login_prompt_unittest.cc 16 auth_info->realm = L"WallyWorld";
  /external/iproute2/ip/
rtm_map.c 98 __u32 realm = 0; local
112 if (*arg && rtnl_rtrealm_a2n(&realm, arg))
114 *realms |= realm;
  /external/webkit/Source/WebKit/win/
WebURLProtectionSpace.h 57 /* [in] */ BSTR realm,
64 /* [in] */ BSTR realm,
79 virtual HRESULT STDMETHODCALLTYPE realm(
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar 
  /external/webkit/Source/WebKit/mac/Panels/
WebAuthenticationPanel.m 131 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, host]
    [all...]
  /external/webkit/Source/WebKit2/UIProcess/API/C/
WKProtectionSpace.cpp 51 return toCopiedAPI(toImpl(protectionSpaceRef)->realm());

Completed in 2158 milliseconds

1 2 3 4 5 6 7