/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
H A D | HttpAuthenticator.java | 49 * Indicate whether the specified authentication scheme is 51 * scheme name should be checked in a case-insensitive fashion. 54 boolean schemeSupported (String scheme); argument 74 public String authString (URL u, String scheme, String realm); argument
|
H A D | HttpCallerInfo.java | 39 * 1. Un-schemed: Create at the beginning before the preferred scheme is 43 * 2. Schemed: With the scheme field filled, can be used in JGSS-API calls. 48 final public String host, protocol, prompt, scheme; field in class:HttpCallerInfo 56 public HttpCallerInfo(HttpCallerInfo old, String scheme) { argument 64 this.scheme = scheme; 92 scheme = ""; 106 scheme = "";
|
H A D | AuthenticationHeader.java | 35 * for the best currently supported scheme. It can also return a HeaderParser 36 * containing the challenge data for that particular scheme. 41 * Note the realm parameter must be associated with the particular scheme. 66 * -Dhttp.auth.preference="scheme" 68 * which in this case, specifies that "scheme" should be used as the auth scheme when offered 69 * disregarding the default prioritisation. If scheme is not offered then the default priority 74 * scheme with GSS/SPNEGO or GSS/Kerberos mechanism. 76 * This also means that the real "Kerberos" scheme can never be set as a preference. 116 * parse a set of authentication headers and choose the preferred scheme 238 public String scheme() { method in class:AuthenticationHeader [all...] |
H A D | AuthenticationInfo.java | 169 /** The authentication scheme (basic/digest). Also used for key lookup */ 172 /** The protocol/scheme (i.e. http or https ). Need to keep the caches 273 static String getServerAuthKey(URL url, String realm, AuthScheme scheme) { argument 278 String key = SERVER_AUTHENTICATION + ":" + scheme + ":" + url.getProtocol().toLowerCase() 321 static String getProxyAuthKey(String host, int port, String realm, AuthScheme scheme) { argument 322 String key = PROXY_AUTHENTICATION + ":" + scheme + "::" + host.toLowerCase()
|
H A D | HttpURLConnection.java | 387 final String scheme, 398 prompt, scheme, url, authType); 903 /* Try to open connections using the following scheme, 1972 String scheme = authhdr.scheme(); 1974 if ("basic".equalsIgnoreCase(scheme)) { 1976 } else if ("digest".equalsIgnoreCase(scheme)) { 1978 } else if ("ntlm".equalsIgnoreCase(scheme)) { 1981 } else if ("Kerberos".equalsIgnoreCase(scheme)) { 1984 } else if ("Negotiate".equalsIgnoreCase(scheme)) { 381 privilegedRequestPasswordAuthentication( final String host, final InetAddress addr, final int port, final String protocol, final String prompt, final String scheme, final URL url, final RequestorType authType) argument [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DOMTest.java | 132 public String getResourceURI(String href, String scheme, String contentType) throws argument 134 if (scheme == null) { 135 throw new NullPointerException("scheme"); 137 if ("file".equals(scheme)) { 140 if ("http".equals(scheme)) { 153 throw new DOMTestLoadException(new Exception("Unrecognized URI scheme " + 154 scheme)); 157 public String createTempURI(String scheme) throws DOMTestLoadException { argument 158 if (scheme == null) { 159 throw new NullPointerException("scheme"); [all...] |
H A D | DOMTestInnerClass.java | 133 public void assertURIEquals(String assertID, String scheme, String path, argument 137 test.assertURIEquals(assertID, scheme, path, host, file, name, query,
|
H A D | DOMTestCase.java | 646 * @param scheme 647 * Expected scheme, for example, "file". If null, scheme is 672 String scheme, 722 if (scheme != null) { 723 assertEquals(assertID, scheme, actualScheme); 670 assertURIEquals( String assertID, String scheme, String path, String host, String file, String name, String query, String fragment, Boolean isAbsolute, String actual) argument
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | DOMTestCase.java | 102 public void assertURIEquals(String assertID, String scheme, String path, argument 146 if (scheme != null) { 147 assertEquals(assertID, scheme, actualScheme);
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | Authenticator.java | 148 * @param scheme The authentication scheme 165 String scheme) { 184 a.requestingScheme = scheme; 208 * @param scheme The authentication scheme 227 String scheme) { 247 a.requestingScheme = scheme; 269 * @param scheme The authentication scheme 160 requestPasswordAuthentication( InetAddress addr, int port, String protocol, String prompt, String scheme) argument 221 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme) argument 286 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType) argument [all...] |
H A D | URI.java | 70 * [<i>scheme</i><tt><b>:</b></tt><i></i>]<i>scheme-specific-part</i>[<tt><b>#</b></tt><i>fragment</i>] 76 * <p> An <i>absolute</i> URI specifies a scheme; a URI that is not absolute is 80 * <p> An <i>opaque</i> URI is an absolute URI whose scheme-specific part does 91 * scheme-specific part begins with a slash character, or a relative URI, that 92 * is, a URI that does not specify a scheme. Some examples of hierarchical 105 * [<i>scheme</i><tt><b>:</b></tt>][<tt><b>//</b></tt><i>authority</i>][<i>path</i>][<tt><b>?</b></tt><i>query</i>][<tt><b>#</b></tt><i>fragment</i>] 110 * scheme-specific part of a hierarchical URI consists of the characters 111 * between the scheme and fragment components. 133 * <blockquote><table summary="Describes the components of a URI:scheme,schem 479 private transient String scheme; // null ==> relative URI field in class:URI 665 URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) argument 738 URI(String scheme, String authority, String path, String query, String fragment) argument 772 URI(String scheme, String host, String path, String fragment) argument 815 URI(String scheme, String ssp, String fragment) argument 1792 checkPath(String s, String scheme, String path) argument 1901 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | URITest.java | 125 "ht123-+tp://www.google.com:80/test", // legal chars in scheme 161 "mailto:user^name@fklkf.com" // invalid char in scheme 203 // scheme validation 204 "a scheme://reg/", // illegal char 205 "1scheme://reg/", // non alpha char as 1st char 298 // scheme specific part can not be null 306 // scheme needs to start with an alpha char 308 uri = new URI("3scheme", "//authority/path", "fragment"); 314 // scheme can not be empty string 359 // check for URISyntaxException for invalid scheme 400 construct1(String scheme, String userinfo, String host, int port, String path, String query, String fragment) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/www/ |
H A D | ParseUtil.java | 310 private static URI createURI(String scheme, argument 316 String s = toString(scheme, null, 319 checkPath(s, scheme, path); 323 private static String toString(String scheme, argument 334 if (scheme != null) { 335 sb.append(scheme); 527 // If a scheme is given then the path, if given, must be absolute 529 private static void checkPath(String s, String scheme, String path) argument 532 if (scheme != null) {
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 2136 public static final int scheme = 0; field in class:R
|