Searched refs:authority (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/test/java/net/Authenticator/
H A DB4769350.java53 String authority, path; field in class:B4769350.Client
56 Client (String authority, String path, boolean allowerror) { argument
58 this.authority = authority;
65 URI u = new URI ("http", authority, path, null, null);
270 static void doServerTests (String authority) throws Exception { argument
273 c1 = new Client (authority, "/test/realm1/t1a", false);
274 c2 = new Client (authority, "/test/realm2/t1b", false);
275 c3 = new Client (authority, "/test/realm1/t1c", false);
276 c4 = new Client (authority, "/tes
310 doProxyTests(String authority) argument
[all...]
/openjdk7/jdk/src/share/classes/java/security/cert/
H A DCertificateRevokedException.java65 * authority that signed the certificate's revocation status information
67 private final X500Principal authority; field in class:CertificateRevokedException
73 * the specified revocation date, reason code, authority name, and map
82 * @param authority the <code>X500Principal</code> that represents the name
83 * of the authority that signed the certificate's revocation status
86 * <code>reason</code>, <code>authority</code>, or
90 X500Principal authority, Map<String, Extension> extensions) {
91 if (revocationDate == null || reason == null || authority == null ||
97 this.authority = authority;
89 CertificateRevokedException(Date revocationDate, CRLReason reason, X500Principal authority, Map<String, Extension> extensions) argument
[all...]
/openjdk7/jdk/src/share/classes/java/net/
H A DURLStreamHandler.java128 String authority = u.getAuthority();
155 // Parse the authority part if any
171 host = authority = spec.substring(start, i);
173 int ind = authority.indexOf('@');
175 userInfo = authority.substring(0, ind);
176 host = authority.substring(ind+1);
204 "Invalid authority field: " + authority);
209 "Invalid authority field: " + authority);
530 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
[all...]
H A DURI.java105 * [<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>]
113 * <p> The authority component of a hierarchical URI is, if specified, either
114 * <i>server-based</i> or <i>registry-based</i>. A server-based authority
123 * authority component that does not parse in this way is considered to be
129 * specifies an authority is always absolute.
133 * <blockquote><table summary="Describes the components of a URI:scheme,scheme-specific-part,authority,user-info,host,port,path,query,fragment">
137 * <tr><td>authority</td><td><tt>String</tt></td></tr>
159 * authority component is present and is server-based then the host component
386 * slashes before an empty authority (as in <tt>file:///tmp/</tt>&nbsp;) or a
418 * if <i>u</i> is hierarchical and has either no authority o
489 private transient String authority; // Registry or server field in class:URI
744 URI(String scheme, String authority, String path, String query, String fragment) argument
1809 appendAuthority(StringBuffer sb, String authority, String userInfo, String host, int port) argument
1859 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
1907 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
[all...]
H A DURL.java184 * The authority part of this URL.
187 private String authority; field in class:URL
395 authority = (port == -1) ? host : host + ":" + port;
441 * &lt;scheme&gt;://&lt;authority&gt;&lt;path&gt;?&lt;query&gt;#&lt;fragment&gt;
443 * The reference is parsed into the scheme, authority, path, query and
445 * authority, and query components are undefined, then the new URL is a
454 * If the authority component is present in the spec then the spec is
455 * treated as absolute and the spec authority and path will replace the
456 * context authority and path. If the authority componen
700 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
[all...]
/openjdk7/jdk/test/java/net/URL/
H A DURIToURLTest.java63 String authority = uri.getAuthority();
64 boolean authorityCheck = authority == null?
66 authority.equals(url.getAuthority());
68 throw new RuntimeException("uri.authority is " +
69 authority + " url's is " +
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DResourceRecords.java45 // Four sections: question, answer, authority, additional.
50 Vector authority = new Vector(); field in class:ResourceRecords
129 authority.addElement(rr);
H A DResolver.java105 * SOA record is received in the authority section of a response.
127 for (int i = 0; i < rrs.authority.size(); i++) {
129 rrs.authority.elementAt(i);
171 // %%% As an optimization, could look in authority section of
/openjdk7/jdk/src/share/classes/sun/net/www/
H A DParseUtil.java311 String authority,
317 authority, null, null, -1,
325 String authority,
339 authority, userInfo, host, port,
347 String authority,
376 appendAuthority(sb, authority, userInfo, host, port);
387 String authority,
408 } else if (authority != null) {
410 if (authority.startsWith("[")) {
411 int end = authority
310 createURI(String scheme, String authority, String path, String query, String fragment) argument
323 toString(String scheme, String opaquePart, String authority, String userInfo, String host, int port, String path, String query, String fragment) argument
345 appendSchemeSpecificPart(StringBuffer sb, String opaquePart, String authority, String userInfo, String host, int port, String path, String query) argument
386 appendAuthority(StringBuffer sb, String authority, String userInfo, String host, int port) argument
[all...]
/openjdk7/jdk/src/share/classes/java/rmi/
H A DNaming.java241 * Convert the authority to a localhost:<port> form
310 * authority. We only want to allow server based naming
315 // Check if the authority is of form ':<port>'
316 String authority = uri.getAuthority();
317 if (authority != null && authority.startsWith(":")) {
318 // Convert the authority to 'localhost:<port>' form
319 authority = "localhost" + authority;
321 uri = new URI(null, authority, nul
[all...]
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java208 * @param authority the {@link URI#getAuthority} component of a URI.
219 public HostIdentifier(String scheme, String authority, String path, argument
222 uri = new URI(scheme, authority, path, query, fragment);
238 * user-info part of the authority (the lvmid).
243 String authority = vmid.getAuthority();
253 if ((host != null) && (host.compareTo(authority) == 0)) {
256 * the authority (i.e. the lvmid ), and not a host name.
340 String authority = vmid.getAuthority();
347 if ((host != null) && (host.compareTo(authority) == 0)) {
350 * the authority (
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/util/
H A DURI.java42 * slashes ("//") and may be followed by an authority segment (comprised
46 * the authority segment. If "user:password" appears in a URI, the entire
228 /** If specified, stores the registry based authority for this URI; otherwise -1 */
543 // Two slashes means we may have authority, but definitely means we're either
547 // Try matching net_path first, and if that fails we don't have authority so
550 // net_path = "//" authority [ abs_path ]
567 // Attempt to parse authority. If the section is an empty string
568 // this is a valid server based authority, so set the host to this
571 // If we didn't find authority we need to back up. Attempt to
659 // Two slashes means we may have authority, bu
1031 isValidRegistryBasedAuthority(String authority) argument
1520 setRegBasedAuthority(String authority) argument
[all...]

Completed in 90 milliseconds