Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getDfsTtl (0.07 sec)

  1. src/test/java/jcifs/ConfigurationTest.java

        @Test
        @DisplayName("Should define all configuration methods")
        void testConfigurationInterface() {
            assertDoesNotThrow(() -> {
                mockConfig.getRandom();
                mockConfig.getDfsTtl();
                mockConfig.isDfsStrictView();
                mockConfig.isDfsDisabled();
                mockConfig.isDfsConvertToFQDN();
                mockConfig.getMinimumVersion();
                mockConfig.getMaximumVersion();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DfsImpl.java

                try (SmbTransport dc = getDc(tf, authDomain)) {
                    final CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry =
                            new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                    DfsReferralData initial = null;
                    @SuppressWarnings("resource")
                    final SmbTransportInternal trans = dc != null ? dc.unwrap(SmbTransportInternal.class) : null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isPort139FailoverEnabled();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#getDfsTtl()
         */
        @Override
        public long getDfsTtl() {
            return this.delegate.getDfsTtl();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isDfsStrictView()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            // Given
            when(mockDelegate.getDfsTtl()).thenReturn(300L);
            when(mockDelegate.getResponseTimeout()).thenReturn(30000);
            when(mockDelegate.getSoTimeout()).thenReturn(35000);
            when(mockDelegate.getConnTimeout()).thenReturn(35000);
            when(mockDelegate.getMaxMpxCount()).thenReturn(10);
    
            // When
            long dfsTtl = delegatingConfig.getDfsTtl();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DfsImplTest.java

            when(mockContext.getCredentials()).thenReturn(mockCredentials);
            when(mockContext.getTransportPool()).thenReturn(mockTransportPool);
            when(mockConfig.getDfsTtl()).thenReturn(300L);
    
            // Mock transport to throw IOException - simulating connection failure
            when(mockTransportPool.getSmbTransport(any(CIFSContext.class), anyString(), anyInt(), anyBoolean(), anyBoolean()))
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/BaseConfigurationTest.java

        @DisplayName("Test DFS configuration getters")
        void testDfsConfigurationGetters() {
            assertFalse(config.isDfsDisabled());
            assertFalse(config.isDfsStrictView());
            assertEquals(300L, config.getDfsTtl());
            assertFalse(config.isDfsConvertToFQDN());
            assertNull(config.getLogonShare());
        }
    
        @Test
        @DisplayName("Test authentication configuration getters")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

        SecureRandom getRandom();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.dfs.ttl} (int, default 300)
         *
         * @return title to live, in seconds, for DFS cache entries
         */
        long getDfsTtl();
    
        /**
         *
         * Property {@code jcifs.smb.client.dfs.strictView} (boolean, default false)
         *
         * @return whether a authentication failure during DFS resolving will throw an exception
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/config/BaseConfiguration.java

            return this.dfsDisabled;
        }
    
        @Override
        public boolean isDfsStrictView() {
            return this.dfsStrictView;
        }
    
        @Override
        public long getDfsTtl() {
            return this.dfsTTL;
        }
    
        @Override
        public boolean isDfsConvertToFQDN() {
            return this.dfsConvertToFqdn;
        }
    
        @Override
        public String getLogonShare() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

                    rn = dfsResp.getNumReferrals();
                }
    
                DfsReferralDataImpl cur = null;
                final long expiration = System.currentTimeMillis() + ctx.getConfig().getDfsTtl() * 1000;
                final Referral[] refs = dfsResp.getReferrals();
                for (int di = 0; di < rn; di++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
Back to top