Lines Matching refs:authority
241 * 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, null, null, null);
323 // naming authority
327 MalformedURLException("invalid authority: " + str);
331 MalformedURLException("invalid authority: " + str);