Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for getHostName (0.38 sec)

  1. src/main/java/jcifs/netbios/UniAddress.java

         * 
         * @return the hostname associated with the address
         */
        @Override
        public String getHostName () {
            if ( this.addr instanceof NbtAddress ) {
                return ( (NbtAddress) this.addr ).getHostName();
            }
            return ( (InetAddress) this.addr ).getHostName();
        }
    
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/config/exentity/FileConfig.java

                    final String domain = map.get("domain");
                    smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain);
                    smbAuth.setServer(fileAuth.getHostname());
                    smbAuth.setPort(fileAuth.getPort() == null ? -1 : fileAuth.getPort());
                    smbAuth.setUsername(fileAuth.getUsername());
                    smbAuth.setPassword(fileAuth.getPassword());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/exentity/WebAuthentication.java

                return new FormScheme(parameterMap);
            }
            return null;
        }
    
        private AuthScope getAuthScope() {
            if (StringUtil.isBlank(getHostname())) {
                return AuthScope.ANY;
            }
    
            int p;
            if (getPort() == null) {
                p = AuthScope.ANY_PORT;
            } else {
                p = getPort();
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/UniAddress.java

        }
    
        /**
         * Return the hostname of this address such as "MYCOMPUTER".
         */
    
        public String getHostName() {
            if( addr instanceof NbtAddress ) {
                return ((NbtAddress)addr).getHostName();
            }
            return ((InetAddress)addr).getHostName();
        }
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

                    if ( this.getNameType() == 0x1D ) {
                        for ( int i = 0; i < addrs.length; i++ ) {
                            if ( addrs[ i ].getNameType() == 0x20 ) {
                                return addrs[ i ].getHostName();
                            }
                        }
                        return null;
                    }
                    else if ( this.isDataFromNodeStatus ) {
                        /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/Address.java

         */
        <T extends Address> T unwrap ( Class<T> type );
    
    
        /**
         * 
         * @return the resolved host name, or the host address if it could not be resolved
         */
        String getHostName ();
    
    
        /**
         * Return the IP address as text such as "192.168.1.15".
         * 
         * @return the ip address
         */
        String getHostAddress ();
    
    
        /**
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 03 13:22:30 UTC 2018
    - 2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            assertNotNull(systemHelper.getHostname());
            try {
                envMap.put("COMPUTERNAME", "xxx");
                assertEquals("xxx", systemHelper.getHostname());
            } finally {
                envMap.remove("COMPUTERNAME");
            }
            try {
                envMap.put("HOSTNAME", "yyy");
                assertEquals("yyy", systemHelper.getHostname());
            } finally {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                                postcard.addTo(fessConfig.getMailFromAddress());
                                postcard.dryrun();
                            }
                            postcard.setHostname(systemHelper.getHostname());
                            postcard.setClustername(ping.getClusterName());
                            postcard.setClusterstatus(ping.getClusterStatus());
                        });
                    } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsWebAuthentication.java

            return createdTime;
        }
    
        public void setCreatedTime(Long value) {
            registerModifiedProperty("createdTime");
            this.createdTime = value;
        }
    
        public String getHostname() {
            checkSpecifiedProperty("hostname");
            return convertEmptyToNull(hostname);
        }
    
        public void setHostname(String value) {
            registerModifiedProperty("hostname");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", null);
            String defaultWorkstation = null;
            try {
                defaultWorkstation = NbtAddress.getLocalHost().getHostName();
            } catch (UnknownHostException ex) { }
            DEFAULT_WORKSTATION = defaultWorkstation;
        }
    
        /**
         * Creates a Type-1 message using default values from the current
         * environment.
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
Back to top