Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 395 for transport (0.05 sec)

  1. src/test/java/jcifs/smb/SmbSessionInternalTest.java

            verify(session).getSessionKey();
        }
    
        // Happy path: transport is returned and verified
        @Test
        @DisplayName("getTransport returns mocked transport")
        void getTransport_happy() {
            when(session.getTransport()).thenReturn(transport);
            assertSame(transport, session.getTransport());
            verify(session).getTransport();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        private RdmaConnection rdmaConnection;
        private final Object connectionLock = new Object();
    
        /**
         * Creates a new RDMA transport wrapping the given delegate transport.
         *
         * @param delegate the underlying SMB transport to wrap
         * @param context the CIFS context for configuration
         */
        public RdmaTransport(SmbTransportInternal delegate, CIFSContext context) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/DfsImplTest.java

        }
    
        @Test
        void testIsTrustedDomain_ConnectionFails() throws SmbAuthException {
            // Scenario: Transport connection fails
            when(mockCredentials.getUserDomain()).thenReturn("authdomain.com");
            // When transport fails, it should return false
            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        // Tests for getDc
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#error()
         */
        @Override
        public final void error() {
            this.error = true;
            synchronized (this) {
                notifyAll();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#clearReceived()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeImplTest.java

        void testTreeConnectSmb2() throws CIFSException, IOException {
            when(transport.isSMB2()).thenReturn(true);
            when(transport.getContext()).thenReturn(context);
            when(session.getTargetHost()).thenReturn("localhost");
    
            // Mock negotiate response for SMB2
            Smb2NegotiateResponse nego = mock(Smb2NegotiateResponse.class);
            when(transport.getNegotiateResponse()).thenReturn(nego);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/transport/Request.java

    package jcifs.smb1.util.transport;
    
    /**
     * Marker interface for transport layer request objects.
     * Represents a request that can be sent through the SMB1 transport layer.
     */
    public interface Request {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 205 bytes
    - Viewed (0)
  7. docs/changelogs/changelog_1x.md

     * Add URLStreamHandlerFactory support so that `URL.openConnection()` uses
       OkHttp.
     * Expose the transport ("http/1.1", "spdy/3", etc.) via magic request headers.
       Use `X-Android-Transports` to write the preferred transports and
       `X-Android-Selected-Transport` to read the negotiated transport.
    
    
    ## Version 1.0.2
    
    _2013-05-11_
    
     * Fix: Remove use of Java 6-only APIs.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SigningDigest.java

        }
    
        /**
         * Constructs a new signing digest using transport and authentication credentials.
         *
         * @param transport the SMB transport for this signing context
         * @param auth the NTLM password authentication credentials
         * @throws SmbException if MD5 algorithm is not available or key generation fails
         */
        public SigningDigest(final SmbTransport transport, final NtlmPasswordAuthentication auth) throws SmbException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. docs/smb3-features/05-rdma-smb-direct-design.md

                || error.getMessage().contains("retry");
        }
        
        private void fallbackToTcp(RdmaConnection connection) {
            log.info("Falling back to TCP transport");
            // Switch transport to TCP
            // This would require transport factory modification
        }
    }
    ```
    
    ## 10. Security Considerations
    
    ### 10.1 RDMA Security
    ```java
    public class RdmaSecurityManager {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            this.macSigningKey = macSigningKey;
            this.signSequence = initialSequence;
        }
    
        /**
         * Constructs a signing digest from transport and authentication information
         *
         * @param transport
         *            The SMB transport containing server encryption key
         * @param auth
         *            The NTLM password authenticator containing user credentials
         * @throws SmbException
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top