Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 70 for getHostname (0.05 sec)

  1. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
            when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
            when(mockHost.getHostName()).thenReturn(TEST_HOSTNAME);
            when(mockConfig.getDefaultDomain()).thenReturn(TEST_DOMAIN);
            when(mockConfig.isUseUnicode()).thenReturn(true);
    
            return mockContext;
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/UniAddress.java

         *
         * @return the hostname of this address
         */
    
        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 Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  4. src/main/java/jcifs/Address.java

        <T extends Address> T unwrap(Class<T> type);
    
        /**
         * Gets the host name of this address.
         *
         * @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();
    
        /**
         * Converts this address to an InetAddress.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(config.isIpcSigningEnforced()).thenReturn(true);
            when(config.getLogonShare()).thenReturn("IPC$");
    
            // Default address values
            when(address.getHostName()).thenReturn("test.host");
            when(address.getHostAddress()).thenReturn("192.168.1.100");
        }
    
        @Test
        @DisplayName("Should distinguish between pooled and non-pooled connections")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/WebAuthenticationDbm.java

                    (et, vl) -> ((WebAuthentication) et).setCreatedTime(DfTypeUtil.toLong(vl)), "createdTime");
            setupEpg(_epgMap, et -> ((WebAuthentication) et).getHostname(),
                    (et, vl) -> ((WebAuthentication) et).setHostname(DfTypeUtil.toString(vl)), "hostname");
            setupEpg(_epgMap, et -> ((WebAuthentication) et).getParameters(),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. 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 (final UnknownHostException ex) {}
            DEFAULT_WORKSTATION = defaultWorkstation;
        }
    
        /**
         * Creates a Type-1 message using default values from the current
         * environment.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type1Message.java

         * @param tc
         *            context to use
         */
        public Type1Message(final CIFSContext tc) {
            this(tc, getDefaultFlags(tc), tc.getConfig().getDefaultDomain(), tc.getNameServiceClient().getLocalHost().getHostName());
        }
    
        /**
         * Creates a Type-1 message with the specified parameters.
         *
         * @param tc
         *            context to use
         * @param flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java

            registerModifiedProperty("fileConfigId");
            this.fileConfigId = value;
        }
    
        public String getHostname() {
            checkSpecifiedProperty("hostname");
            return convertEmptyToNull(hostname);
        }
    
        public void setHostname(String value) {
            registerModifiedProperty("hostname");
            this.hostname = value;
        }
    
        public String getParameters() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top