/openjdk7/jdk/src/share/classes/javax/net/ssl/ |
H A D | HostnameVerifier.java | 29 * This class is the base interface for hostname verification. 31 * During handshaking, if the URL's hostname and 32 * the server's identification hostname mismatch, the 39 * These callbacks are used when the default rules for URL hostname 51 * @param hostname the host name 55 public boolean verify(String hostname, SSLSession session); argument
|
/openjdk7/jdk/test/java/net/InetAddress/ |
H A D | CachedUnknownHostName.java | 35 String hostname = new String("bogusHostName"); 38 InetAddress.getByName(hostname); 40 hostname); 48 InetAddress.getByName(hostname); 50 hostname);
|
H A D | WhiteSpaceHostTest.java | 28 * hostname that start with white space. 40 String hostname = tokenizer.nextToken(); 43 ia = InetAddress.getByName(hostname); 48 throw new Exception("Bogus hostname lookup returned any local address");
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/legacy/connection/ |
H A D | EndPointInfoImpl.java | 38 protected String hostname; field in class:EndPointInfoImpl 43 public EndPointInfoImpl(String type, int port, String hostname) { argument 46 this.hostname = hostname; 56 return hostname; 60 return hostname; 83 return type.hashCode() ^ hostname.hashCode() ^ port; 101 if (!hostname.equals(other.hostname)) { 112 hostname [all...] |
H A D | SocketFactoryContactInfoImpl.java | 77 hostname = socketInfo.getHost(); 106 + hostname + " "
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/transport/ |
H A D | SocketOrChannelContactInfoImpl.java | 50 protected String hostname; field in class:SocketOrChannelContactInfoImpl 73 String hostname, 78 this.hostname = hostname; 89 String hostname, 92 this(orb, contactInfoList, socketType, hostname, port); 121 socketType, hostname, port); 147 return hostname; 163 cachedHashCode = socketType.hashCode() ^ hostname.hashCode() ^ port; 183 if (!hostname 69 SocketOrChannelContactInfoImpl( ORB orb, CorbaContactInfoList contactInfoList, String socketType, String hostname, int port) argument 83 SocketOrChannelContactInfoImpl( ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition, String socketType, String hostname, int port) argument [all...] |
H A D | DefaultIORToSocketInfoImpl.java | 54 String hostname = primary.getHost().toLowerCase(); 61 socketInfo = createSocketInfo(hostname, port); 70 hostname = alternate.getAddress().getHost().toLowerCase(); 72 socketInfo= createSocketInfo(hostname, port); 78 private SocketInfo createSocketInfo(final String hostname, final int port) argument 82 public String getHost() { return hostname; }
|
/openjdk7/jdk/src/share/classes/java/net/ |
H A D | InetSocketAddress.java | 37 * It can also be a pair (hostname + port number), in which case an attempt 38 * will be made to resolve the hostname. If resolution fails then the address 57 // The hostname of the Socket Address 58 private String hostname; field in class:InetSocketAddress.InetSocketAddressHolder 64 private InetSocketAddressHolder(String hostname, InetAddress addr, int port) { argument 65 this.hostname = hostname; 79 if (hostname != null) 80 return hostname; 87 if (hostname ! 147 checkHost(String hostname) argument 215 InetSocketAddress(String hostname, int port) argument 228 InetSocketAddress(int port, String hostname) argument [all...] |
H A D | InetAddressImpl.java | 41 lookupAllHostAddr(String hostname) throws UnknownHostException; argument
|
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/https/ |
H A D | DefaultHostnameVerifier.java | 42 public boolean verify(String hostname, SSLSession session) { argument
|
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/internal/ssl/ |
H A D | X509ExtendedTrustManager.java | 76 * to use. If the algorithm and the peer hostname are available, the 77 * peer hostname is checked against the peer's identity presented in 82 * @param hostname the peer hostname 91 String authType, String hostname, String algorithm) 105 * to use. If the algorithm and the peer hostname are available, the 106 * peer hostname is checked against the peer's identity presented in 111 * @param hostname the peer hostname 120 String authType, String hostname, Strin 90 checkClientTrusted(X509Certificate[] chain, String authType, String hostname, String algorithm) argument 119 checkServerTrusted(X509Certificate[] chain, String authType, String hostname, String algorithm) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jps/ |
H A D | Arguments.java | 51 private String hostname; field in class:Arguments 59 ps.println(" <hostid>: <hostname>[:<port>]"); 107 hostname = null; 110 hostname = args[args.length - 1]; 117 hostId = new HostIdentifier(hostname); 121 + hostname); 159 public String hostname() { method in class:Arguments 160 return hostname;
|
/openjdk7/jdk/src/share/demo/management/FullThreadDump/ |
H A D | FullThreadDump.java | 56 public FullThreadDump(String hostname, int port) { argument 57 System.out.println("Connecting to " + hostname + ":" + port); 61 String urlPath = "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi"; 103 String hostname = arg2[0]; 115 FullThreadDump ftd = new FullThreadDump(hostname, port); 120 System.out.println("Usage: java FullThreadDump <hostname>:<port>");
|
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ext/ |
H A D | StartTlsResponseImpl.java | 83 * The server's hostname. 85 private transient String hostname = null; field in class:StartTlsResponseImpl 119 * The hostname verifier callback. 151 * Overrides the default hostname verifier used by <tt>negotiate()</tt> 158 * @param verifier The non-null hostname verifier callback. 193 * hostname against that in the server's certificate. The server's 194 * hostname is extracted from the subjectAltName in the server's 233 if (verify(hostname, sslSession)) { 242 verifier.verify(hostname, sslSession)) { 252 "hostname o 297 setConnection(Connection ldapConnection, String hostname) argument 402 verify(String hostname, SSLSession session) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/ |
H A D | ClientId.java | 38 * - server's hostname (case-insensitive) 57 final private String hostname; field in class:ClientId 71 ClientId(int version, String hostname, int port, String protocol, argument 74 this.hostname = hostname.toLowerCase(); // ignore case 111 + (this.hostname != null ? this.hostname.hashCode() : 0) 127 && (hostname == other.hostname // null OK 128 || (hostname ! [all...] |
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/ |
H A D | NegotiateAuthentication.java | 86 * hostname at a success try.<br> 89 * the same hostname, the answer is retrieved from cache. 98 String hostname = hci.host; 99 hostname = hostname.toLowerCase(); 100 if (supported.containsKey(hostname)) { 101 return supported.get(hostname); 106 supported.put(hostname, true); 109 cache.put(hostname, neg); 112 supported.put(hostname, fals [all...] |
/openjdk7/jdk/src/solaris/native/java/net/ |
H A D | Inet4AddressImpl.c | 67 char hostname[NI_MAXHOST+1]; local 69 hostname[0] = '\0'; 70 if (JVM_GetHostName(hostname, NI_MAXHOST)) { 72 strcpy(hostname, "localhost"); 81 error = getaddrinfo(hostname, NULL, &hints, &res); 87 hostname, 93 /* if getnameinfo fails hostname is still the value 99 return (*env)->NewStringUTF(env, hostname); 108 * Find an internet address for a given hostname. Note that this 121 const char *hostname; local 329 char hostname[MAXHOSTNAMELEN+1]; local 407 const char *hostname; local [all...] |
/openjdk7/jdk/test/java/rmi/transport/checkFQDN/ |
H A D | CheckFQDNClient.java | 48 * hostname of this client vm. 54 String hostname = null; 57 hostname = retrieveServerName(); 59 hostname); 65 tell.tellServerName(hostname); 74 /* what is the rmi hostname for this vm? */ 90 // this is the name used by rmi for the client hostname 98 /* thread to geth the rmi hostname of this vm */
|
/openjdk7/jdk/src/share/demo/management/VerboseGC/ |
H A D | VerboseGC.java | 56 public VerboseGC(String hostname, int port) { argument 57 System.out.println("Connecting to " + hostname + ":" + port); 61 String urlPath = "/jndi/rmi://" + hostname + ":" + port + "/jmxrmi"; 103 String hostname = ""; 135 hostname = arg2[0]; 148 VerboseGC vgc = new VerboseGC(hostname, port); 155 System.out.print("Usage: java VerboseGC <hostname>:<port> ");
|
/openjdk7/jdk/src/share/classes/com/sun/security/ntlm/ |
H A D | Client.java | 46 final private String hostname; field in class:Client 65 * @param hostname hostname of the client, can be null 76 public Client(String version, String hostname, String username, argument 83 this.hostname = hostname; 89 hostname, username, domain, version, v.toString()); 99 if (hostname != null) { 109 p.writeSecurityBuffer(24, hostname, false); 150 p.writeSecurityBuffer(44, hostname, unicod [all...] |
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | NetClient.java | 38 public static NetClient getInstance(String protocol, String hostname, int port, argument 41 return new TCPClient(hostname, port, timeout); 43 return new UDPClient(hostname, port, timeout); 60 TCPClient(String hostname, int port, int timeout) argument 63 tcpSocket.connect(new InetSocketAddress(hostname, port), timeout); 187 UDPClient(String hostname, int port, int timeout) argument 189 iaddr = InetAddress.getByName(hostname);
|
/openjdk7/jdk/src/solaris/classes/sun/net/www/protocol/http/ntlm/ |
H A D | NTLMAuthentication.java | 74 private String hostname; field in class:NTLMAuthentication 97 hostname = java.security.AccessController.doPrivileged( 109 int x = hostname.indexOf ('.'); 111 hostname = hostname.substring (0, x); 149 client = new Client(System.getProperty("ntlm.version"), hostname, 153 client = new Client(null, hostname, username, ntdomain, password);
|
/openjdk7/jdk/src/windows/native/java/net/ |
H A D | Inet4AddressImpl.c | 42 * Returns true if hostname is in dotted IP address format. Note that this 46 jboolean isDottedIPAddress(const char *hostname, unsigned int *addrp) { argument 47 char *c = (char *)hostname; 106 char hostname[256]; local 108 if (gethostname(hostname, sizeof hostname) == -1) { 109 strcpy(hostname, "localhost"); 111 return JNU_NewStringPlatform(env, hostname); 120 * Find an internet address for a given hostname. Not this this 137 const char *hostname; local [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | X509TrustManagerImpl.java | 202 String hostname = session.getPeerHost(); 203 checkIdentity(hostname, chain[0], identityAlg); 254 String hostname = session.getPeerHost(); 255 checkIdentity(hostname, chain[0], identityAlg); 333 * Identify the peer by its certificate and hostname. 337 static void checkIdentity(String hostname, X509Certificate cert, argument 341 if ((hostname != null) && hostname.startsWith("[") && 342 hostname.endsWith("]")) { 343 hostname [all...] |
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/ntlm/ |
H A D | NTLMClient.java | 96 "com.sun.security.sasl.ntlm.hostname"; 119 String hostname = null; 128 hostname = (String)props.get(NTLM_HOSTNAME); 155 if (hostname == null) { 157 hostname = InetAddress.getLocalHost().getCanonicalHostName(); 159 hostname = "localhost"; 163 client = new Client(version, hostname,
|