Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isDFSSupported (0.75 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationResponseTest.java

        }
    
        @Test
        @DisplayName("Test isDFSSupported returns true")
        void testIsDFSSupportedTrue() {
            // Arrange
            when(negotiationResponse.isDFSSupported()).thenReturn(true);
    
            // Act
            boolean result = negotiationResponse.isDFSSupported();
    
            // Assert
            assertTrue(result);
            verify(negotiationResponse).isDFSSupported();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            return (this.capabilities & cap) == cap;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported() {
            return !getConfig().isDfsDisabled() && haveCapabilitiy(SmbConstants.CAP_DFS);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SmbNegotiationResponse.java

         */
        boolean isSigningRequired();
    
        /**
         * Checks whether the server supports Distributed File System (DFS).
         *
         * @return whether the server supports DFS
         */
        boolean isDFSSupported();
    
        /**
         * Sets up the given request with negotiated parameters.
         *
         * @param request the request to configure
         */
        void setupRequest(CommonServerMessageBlock request);
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            when(mockConfig.isDfsDisabled()).thenReturn(false);
            assertTrue(response.isDFSSupported());
    
            // Test with DFS disabled in config
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(response.isDFSSupported());
    
            // Test without DFS capability
            when(mockConfig.isDfsDisabled()).thenReturn(false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            return (this.commonCapabilities & cap) == cap;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbNegotiationResponse#isDFSSupported()
         */
        @Override
        public boolean isDFSSupported() {
            return !getConfig().isDfsDisabled() && haveCapabilitiy(Smb2Constants.SMB2_GLOBAL_CAP_DFS);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                // we are connected, so we know
                return isDfs();
            }
            try (SmbTransportImpl transport = this.session.getTransport()) {
                return transport.getNegotiateResponse().isDFSSupported();
            }
        }
    
        /**
         * @return the session this tree is connected in
         */
        public SmbSessionImpl getSession() {
            return this.session.acquire();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
Back to top