Searched defs:hostname (Results 1 - 8 of 8) sorted by relevance

/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/connection/
H A DSSLHostNameVerifier.java58 * matches the hostname of the Load balancer to CN attribute of the
60 * @param hostname hostname of the load balancer
66 public boolean verify(String hostname, SSLSession session) { argument
74 String msg = LbLogUtil.getStringManager().getString("NoPeerCert", hostname);
98 if (hostname.equals(hName)) {
102 String msg = LbLogUtil.getStringManager().getString("NotX905Cert", hostname);
106 // Now, try to match if it matches the hostname from the SSLSession
107 if (hostname.equals(session.getPeerHost())) {
111 String msg = LbLogUtil.getStringManager().getString("NotCertMatch", hostname, ne
[all...]
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/
H A DWindowsRemoteFileSystem.java61 public WindowsRemoteFileSystem(String hostname, NtlmPasswordAuthentication auth) { argument
62 host = getIP(hostname);
66 public WindowsRemoteFileSystem(String hostname, String username, String password) { argument
67 host = getIP(hostname);
85 private String getIP(String hostname) { argument
87 return InetAddress.getByName(hostname).getHostAddress();
89 return hostname;
/glassfish-3.1.2/jms/admin/src/main/java/com/sun/messaging/jmq/management/
H A DMQRMIClientSocketFactory.java61 String hostname = null; field in class:MQRMIClientSocketFactory
63 public MQRMIClientSocketFactory(String hostname, boolean isBrokerHostTrusted, argument
66 this.hostname = hostname;
72 String socketHost = hostname;
102 return ("hostname="
103 + hostname
117 if (this.hostname != null) {
118 if ((that.hostname == null) || !that.hostname
[all...]
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/
H A DConnectorStarter.java77 public String hostname() throws UnknownHostException { method in class:ConnectorStarter
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/
H A DNetUtils.java66 * Return true if hostname represents the current machine.
67 * A null or empty hostname is considered local, as is the
69 * corresponding to hostname are compared with all the IP addresses
72 * hostname can also be an IP address in string form.
74 * @return true if hostname is the local host
76 public static boolean isThisHostLocal(String hostname) { argument
78 if (hostname == null || hostname.length() == 0
79 || hostname.equalsIgnoreCase("localhost"))
85 hostAddrs = InetAddress.getAllByName(hostname);
691 isSecurePort(String hostname, int port) argument
785 isThisMe(String hostname) argument
[all...]
/glassfish-3.1.2/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/environment/
H A DEnvironmentInformation.java47 private String hostname; field in class:EnvironmentInformation
117 init(false, XMLUtil.getOptionalTextValue(e, "hostname"),
163 public EnvironmentInformation(String hostname, String hostId, String osName, argument
170 init(true, hostname, hostId, osName, osVersion, osArchitecture,
176 * Sets the hostname.
177 * @param hostname The hostname to set.
179 public void setHostname(String hostname) { argument
180 this.hostname = hostname;
433 init(boolean captureFromLocal, String hostname, String hostId, String osName, String osVersion, String osArchitecture, String systemModel, String systemManufacturer, String cpuManufacturer, String serialNumber, String physmem, String sockets, String cores, String virtcpus, String cpuname, String clockrate) argument
[all...]
H A DSystemEnvironment.java61 private String hostname; field in class:SystemEnvironment
97 this.hostname = InetAddress.getLocalHost().getHostName();
99 this.hostname = "Unknown host";
119 * Sets the hostname.
120 * @param hostname The hostname to set.
122 public void setHostname(String hostname) { argument
123 this.hostname = hostname;
245 * Returns the hostname
[all...]
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/
H A DRemoteAdminCommand.java1383 * Does the given hostname represent the local host?
1385 private static boolean isLocal(String hostname) { argument
1386 if (hostname.equalsIgnoreCase("localhost")) // the common case
1390 InetAddress ia = InetAddress.getByName(hostname);

Completed in 691 milliseconds