/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/windows/io/ |
H A D | WindowsRemoteFileSystem.java | 61 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 D | MQRMIClientSocketFactory.java | 61 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/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/connection/ |
H A D | SSLHostNameVerifier.java | 58 * 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/registration/registration-impl/src/main/java/com/sun/enterprise/registration/impl/environment/ |
H A D | SystemEnvironment.java | 61 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...] |
H A D | EnvironmentInformation.java | 47 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...] |
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/ |
H A D | NetUtils.java | 66 * 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/common/common-util/src/test/java/com/sun/enterprise/util/net/ |
H A D | NetUtilsTest.java | 111 String hostname = hostnames[i]; 113 boolean result = NetUtils.isThisHostLocal(hostname); 114 assertEquals("hostname: " + hostname + ", result: " + result, expResult, result);
|
/glassfish-3.1.2/common/mbeanserver/src/main/java/org/glassfish/admin/mbeanserver/ |
H A D | ConnectorStarter.java | 77 public String hostname() throws UnknownHostException { method in class:ConnectorStarter
|
H A D | RMIConnectorStarter.java | 91 public static final String RMI_HOSTNAME_PROP = "java.rmi.server.hostname"; 258 final String hostname = hostname(); 276 final String jmxHostPort = hostname + ":" + mPort; 277 final String registryHostPort = hostname + ":" + mPort; 291 mMyServer = new MyRMIJRMPServerImpl(mPort, env, rmiSSF, hostname);
|
H A D | JMXMPConnectorStarter.java | 131 final JMXServiceURL serviceURL = new JMXServiceURL("service:jmx:" + JMXMP + "://" +hostname() + ":" + port);
|
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/ |
H A D | SystemTasks.java | 141 String hostname = "localhost"; 146 hostname = NetUtils.getCanonicalHostName(); 157 setSystemProperty(SystemPropertyConstants.HOST_NAME_PROPERTY, hostname);
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/glassfish/ |
H A D | ASenvPropertyReader.java | 99 * trouble setting up the hostname and java root. 307 String hostname = "localhost"; 310 hostname = NetUtils.getCanonicalHostName(); 315 return hostname;
|
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ |
H A D | LocalInstanceCommand.java | 594 String hostname = InetAddress.getLocalHost().getHostName(); 595 if (hostname.equals(dashost) || NetUtils.isThisHostLocal(dashost)) { 596 hostname = "localhost" + "-" + domainName; 598 File f = new File(parent, hostname);
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/ |
H A D | Utility.java | 96 * Return the hostname of the local machine. 99 String hostname = null; 102 hostname = ia.getHostName(); 106 return hostname; 110 * Return the hostname of the local machine.
|
/glassfish-3.1.2/security/webservices.security/src/main/java/com/sun/enterprise/security/jmac/provider/config/ |
H A D | PipeHelper.java | 464 //XXX FIX ME: need to lookup real hostname 465 String hostname = "localhost"; 466 return hostname;
|
/glassfish-3.1.2/admin/util/src/main/java/com/sun/enterprise/admin/remote/ |
H A D | RemoteAdminCommand.java | 1383 * 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);
|
/glassfish-3.1.2/admingui/common/src/main/resources/js/ |
H A D | adminjsf.js | 980 if (relPath.indexOf(window.location.hostname) != -1) {
|