Searched defs:scheme (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/test/sun/security/krb5/config/
H A DNamingManager.java44 String scheme, Hashtable<?,?> environment)
43 getURLContext( String scheme, Hashtable<?,?> environment) argument
/openjdk7/jdk/test/java/net/URL/
H A DB4148751.java37 final static String scheme = "http"; field in class:B4148751
74 URI uri1 = new URI (scheme, auth, path);
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DHttpAuthenticator.java49 * 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 DHttpCallerInfo.java39 * 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 DAuthenticationHeader.java35 * 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 DAuthenticationInfo.java169 /** 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 DHttpURLConnection.java386 final String scheme,
397 prompt, scheme, url, authType);
902 /* Try to open connections using the following scheme,
1971 String scheme = authhdr.scheme();
1973 if ("basic".equalsIgnoreCase(scheme)) {
1975 } else if ("digest".equalsIgnoreCase(scheme)) {
1977 } else if ("ntlm".equalsIgnoreCase(scheme)) {
1980 } else if ("Kerberos".equalsIgnoreCase(scheme)) {
1983 } else if ("Negotiate".equalsIgnoreCase(scheme)) {
380 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...]
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLMetaElement.java71 * Select form of content. See the scheme attribute definition in HTML
75 public void setScheme(String scheme); argument
/openjdk7/jdk/src/share/classes/com/sun/jndi/toolkit/url/
H A DUri.java40 * replacing the scheme part of a URI is not appropriate here: JNDI
51 * absoluteURI = scheme ":" ( hier_part | opaque_part )
53 * scheme = alpha *( alpha | digit | "+" | "-" | "." )
109 protected String scheme; field in class:Uri
142 * Returns the URI's scheme.
145 return scheme;
168 * slash following the authority part (or the scheme if there is
197 i = uri.indexOf(':'); // parse scheme
201 scheme = uri.substring(0, i);
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java122 * specifies hostname:port, not requiring the scheme part.
124 * hostname:port - scheme = hostname
128 * however, someone could also enter scheme:hostname:port and
136 String scheme = u.getScheme();
145 * this is the scheme:hostname:port case. Attempt to
146 * transform this to scheme://hostname:port. If a path
152 u2 = new URI(scheme + "://" + ssp);
154 u2 = new URI(scheme + "://" + ssp + "#" + frag);
173 * part. The key here is that no scheme part was specified.
174 * For this case, if the scheme specifi
219 HostIdentifier(String scheme, String authority, String path, String query, String fragment) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DAuthenticator.java148 * @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 DURI.java70 * [<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
485 private transient String scheme; // null ==> relative URI field in class:URI
671 URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) argument
744 URI(String scheme, String authority, String path, String query, String fragment) argument
778 URI(String scheme, String host, String path, String fragment) argument
821 URI(String scheme, String ssp, String fragment) argument
1798 checkPath(String s, String scheme, String path) argument
1907 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/spi/
H A DNamingManager.java223 * try the URL context factory corresponding to each URL's scheme id
379 String scheme = getURLScheme(url);
380 if (scheme != null) {
381 answer = getURLObject(scheme, refInfo, name, nameCtx,
395 String scheme = getURLScheme(urls[i]);
396 if (scheme != null) {
397 answer = getURLObject(scheme, refInfo, name, nameCtx,
482 * Creates a context for the given URL scheme id.
485 * scheme <code>scheme</cod
543 getURLContext(String scheme, Hashtable<?,?> environment) argument
586 getURLObject(String scheme, Object urlInfo, Name name, Context nameCtx, Hashtable environment) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DResolver.java130 * scheme to statically determine the correct character encoding if
155 * @param scheme Unless this is "file", unspecified MIME types
162 String scheme) throws IOException {
225 if (!"file".equalsIgnoreCase(scheme))
159 createInputSource(String contentType, InputStream stream, boolean checkType, String scheme) argument
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DHttpNegotiateServer.java96 * scheme, protocol, requestor type, host, port, and url
101 throw new RuntimeException("Bad scheme");
254 * @param scheme "Negotiate" or "Kerberos"
258 public static HttpServer httpd(String scheme, boolean proxy, argument
264 proxy, scheme, principal, ktab));
282 String scheme = null; field in class:HttpNegotiateServer.MyServerAuthenticator
287 public MyServerAuthenticator(boolean proxy, String scheme, argument
290 this.scheme = scheme;
317 MyServerAuthenticator.this.scheme
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DParseUtil.java310 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) {

Completed in 1019 milliseconds