Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for winsServers (0.08 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            // getWinsServers() returns InetAddress[], not String
            InetAddress[] winsServers = testConfig.getWinsServers();
            assertNotNull(winsServers);
            assertEquals(1, winsServers.length);
            assertEquals("192.168.1.1", winsServers[0].getHostAddress());
    
            // getBroadcastAddress() returns InetAddress, not String
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            InetAddress broadcastAddr = InetAddress.getByName("192.168.1.255");
            InetAddress[] winsServers = { InetAddress.getByName("192.168.1.1") };
    
            when(mockDelegate.getLocalAddr()).thenReturn(localAddr);
            when(mockDelegate.getBroadcastAddress()).thenReturn(broadcastAddr);
            when(mockDelegate.getWinsServers()).thenReturn(winsServers);
            when(mockDelegate.getLocalPort()).thenReturn(445);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertTrue(config.isAllowCompound("Command3"));
        }
    
        @Test
        @DisplayName("Test initResolverOrder with null/empty input")
        void testInitResolverOrderWithNullInput() {
            config.winsServer = new InetAddress[0];
            config.initResolverOrder(null);
    
            List<ResolverType> order = config.getResolveOrder();
            assertEquals(3, order.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/config/BaseConfiguration.java

        /** Path to lmhosts file for NetBIOS name resolution */
        protected String lmhostsFilename;
        /** Array of WINS server addresses for NetBIOS name resolution */
        protected InetAddress[] winsServer = {};
        /** Broadcast address for NetBIOS name resolution */
        protected InetAddress broadcastAddress;
        /** Order of name resolution methods to use */
        protected List<ResolverType> resolverOrder;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/PropertyConfiguration.java

                this.disablePlainTextPasswords = Boolean.parseBoolean(value);
            }
    
            value = props.getProperty("jcifs.netbios.wins");
            if (value != null) {
                try {
                    this.winsServer = new InetAddress[] { InetAddress.getByName(value) };
                } catch (UnknownHostException e) {
                    // Invalid address ignored
                }
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
Back to top