Searched defs:realm (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DWebViewDatabase.java93 * Stores HTTP authentication credentials for a given host and realm to the {@link WebViewDatabase}
115 * @param realm the realm to which the credentials apply
122 public abstract void setHttpAuthUsernamePassword(String host, String realm, argument
126 * Retrieves HTTP authentication credentials for a given host and realm from the {@link
130 * @param realm the realm to which the credentials apply
138 public abstract String[] getHttpAuthUsernamePassword(String host, String realm); argument
H A DWebViewClient.java375 * @param realm the realm for which authentication is required
379 HttpAuthHandler handler, String host, String realm) {
462 * @param realm The account realm used to look up accounts.
468 public void onReceivedLoginRequest(WebView view, String realm, argument
378 onReceivedHttpAuthRequest(WebView view, HttpAuthHandler handler, String host, String realm) argument
H A DWebViewProvider.java101 public void setHttpAuthUsernamePassword(String host, String realm, argument
104 public String[] getHttpAuthUsernamePassword(String host, String realm); argument
H A DWebView.java759 * Stores HTTP authentication credentials for a given host and realm to the {@link WebViewDatabase}
763 * @param realm the realm to which the credentials apply
769 public void setHttpAuthUsernamePassword(String host, String realm, argument
772 mProvider.setHttpAuthUsernamePassword(host, realm, username, password);
776 * Retrieves HTTP authentication credentials for a given host and realm from the {@link
779 * @param realm the realm to which the credentials apply
786 public String[] getHttpAuthUsernamePassword(String host, String realm) { argument
788 return mProvider.getHttpAuthUsernamePassword(host, realm);
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DANQPMatcher.java96 * Match the NAI realm in the ANQP element against the realm and authentication method of
100 * @param realm The realm of the provider's credential
105 public static int matchNAIRealm(NAIRealmElement element, String realm, int eapMethodID, argument
113 int match = matchNAIRealmData(realmData, realm, eapMethodID, authParam);
147 * Match the given NAI Realm data against the realm and authentication method of a provider.
150 * @param realm The realm of the provider's credential
155 private static int matchNAIRealmData(NAIRealmData realmData, String realm, in argument
[all...]
H A DPasspointProvider.java257 // No realm match, return provider match as is.
535 private static void setAnonymousIdentityToNaiRealm(WifiEnterpriseConfig config, String realm) { argument
537 * Set WPA supplicant's anonymous identity field to a string containing the NAI realm, so
543 * This NAI realm value (the portion of the identity after the '@') is used to tell the
552 config.setAnonymousIdentity("anonymous@" + realm);
/frameworks/base/obex/javax/obex/
H A DHeaderSet.java664 * Sets the authentication challenge header. The <code>realm</code> will be
667 * <code>realm</code> is application dependent.
668 * @param realm a short description that describes what password to use; if
669 * <code>null</code> no realm will be sent in the authentication
678 public void createAuthenticationChallenge(String realm, boolean userID, boolean access) argument
689 mAuthChall = ObexHelper.computeAuthenticationChallenge(nonce, realm, access, userID);
H A DObexHelper.java989 * @param realm a short description that describes what password to use
996 * if the realm can not be encoded in less then 255 bytes
999 public static byte[] computeAuthenticationChallenge(byte[] nonce, String realm, boolean access, argument
1017 * byte 21: 0x02 - the tag for authentication realm; only included if
1018 * an authentication realm is specified
1019 * byte 22: the length of the authentication realm; only included if
1020 * the authentication realm is specified
1021 * byte 23: the encoding scheme of the authentication realm; we will use
1023 * byte 24 & up: the realm if one is specified.
1025 if (realm
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DCredential.java38 public Credential(long ctime, long expTime, String realm, boolean checkAAACert, argument
43 mRealm = realm;
66 public Credential(long ctime, long expTime, String realm, boolean checkAAACert, argument
70 mRealm = realm;
86 public Credential(long ctime, long expTime, String realm, boolean checkAAACert, argument
90 mRealm = realm;
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPRequest.java100 String realm = itemMap.remove("realm");
102 if (realm == null || nonceText == null) {
103 throw new IOException("realm and/or nonce missing: '" + authRequestLine + "'");
115 * A1 = unq(username-value) ":" unq(realm-value) ":" passwd
134 byte[] a1 = hash(userName, realm, passwordString);
141 .append("realm=\"").append(realm).append("\", ")
261 // WWW-Authenticate: Digest realm="wi-fi.org", qop="auth",
265 // realm
283 test(String user, String realm, String password, String method, String path, String nonce, String cnonce, String nc, String qop, String expect) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DPasspointProviderTest.java127 * @param realm The realm of the network
132 private NAIRealmElement createNAIRealmElement(String realm, int eapMethodID, argument
141 NAIRealmData realmData = new NAIRealmData(Arrays.asList(new String[] {realm}),
340 * Domain Name ANQP element and no NAI realm is provided.
370 * Domain Name ANQP element and the provider's credential matches the NAI realm provided.
377 String testRealm = "realm.com";
406 * method provided in the NAI realm.
413 String testRealm = "realm.com";
530 * Verify that a provider is a roaming provider when its credential matches a NAI realm i
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/
H A DWebView.java85 public void setHttpAuthUsernamePassword(String host, String realm, argument
89 public String[] getHttpAuthUsernamePassword(String host, String realm) { argument
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java115 public static final String REALM_KEY = "realm";
977 * Set realm for Passpoint credential; realm identifies a set of networks where your
979 * @param realm the realm
981 public void setRealm(String realm) { argument
982 setFieldValue(REALM_KEY, realm);
986 * Get realm for Passpoint credential; see {@link #setRealm(String)} for more information
987 * @return the realm
/frameworks/base/wifi/java/android/net/wifi/hotspot2/pps/
H A DCredential.java51 * Max string length for realm. Refer to Credential/Realm node in Hotspot 2.0 Release 2
95 * The realm associated with this credential. It will be used to determine
97 * comparing the realm specified in that hotspot's ANQP element.
101 * Set the realm associated with this credential.
103 * @param realm The realm to set to
105 public void setRealm(String realm) { argument
106 mRealm = realm;
109 * Get the realm associated with this credential.
111 * @return the realm associate
[all...]

Completed in 360 milliseconds