Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for negotiation (0.08 sec)

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

        void testConstructor() {
            // Verify all fields are properly initialized
            assertNotNull(negotiation);
            assertSame(mockRequest, negotiation.getRequest());
            assertSame(mockResponse, negotiation.getResponse());
            assertSame(testRequestBuffer, negotiation.getRequestRaw());
            assertSame(testResponseBuffer, negotiation.getResponseRaw());
        }
    
        @Test
        @DisplayName("Constructor with null request should work")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

            transport.close(); // release once
        }
    
        @Test
        @DisplayName("Server encryption key is returned for SMB1 negotiation only")
        void serverEncryptionKey() {
            // No negotiation yet -> null
            assertNull(transport.getServerEncryptionKey());
    
            // SMB1 negotiation with server data
            SmbComNegotiateResponse smb1 = new SmbComNegotiateResponse(ctx);
            ServerData sd = smb1.getServerData();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/PreauthIntegrityService.java

    /**
     * Enhanced Pre-Authentication Integrity Service for SMB 3.1.1.
     *
     * Provides comprehensive pre-authentication integrity protection against
     * downgrade attacks by maintaining cryptographic hash chains of all
     * negotiation and session setup messages.
     */
    public class PreauthIntegrityService {
    
        private static final Logger log = LoggerFactory.getLogger(PreauthIntegrityService.class);
    
        // Hash algorithm constants
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         * @param skipAuthentication If true the negotiation is only done if it is
         * initiated by the client (MSIE post requests after successful NTLM SSP
         * authentication). If false and the user has not been authenticated yet
         * the client will be forced to send an authentication (server sends
         * HttpServletResponse.SC_UNAUTHORIZED).
         * @return True if the negotiation is complete, otherwise false
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertEquals(0, messageBytes[9] & 0xFF);
            assertEquals(0, messageBytes[10] & 0xFF);
            assertEquals(0, messageBytes[11] & 0xFF);
        }
    
        @Test
        @DisplayName("Should handle Unicode negotiation flag")
        void testUnicodeNegotiation() {
            // Given
            int unicodeFlags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE;
            int oemFlags = NtlmFlags.NTLMSSP_NEGOTIATE_OEM;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTreeImpl.java

                log.debug("Secure negotiation does not apply");
                return;
            }
    
            final Smb2NegotiateResponse nego = (Smb2NegotiateResponse) trans.getNegotiateResponse();
            if (nego.getSelectedDialect().atLeast(DialectVersion.SMB311)) {
                // have preauth integrity instead
                log.debug("Secure negotiation does not apply, is SMB3.1");
                return;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

         *
         * @param req
         *            The servlet request
         * @param resp
         *            The servlet response
         * @param skipAuthentication
         *            If true the negotiation is only done if it is
         *            initiated by the client (MSIE post requests after successful NTLM SSP
         *            authentication). If false and the user has not been authenticated yet
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Implement RDMA capability detection
    - [ ] Create RDMA negotiation context
    - [ ] Implement RDMA transport layer
    - [ ] Add RDMA buffer registration
    - [ ] Create RDMA read/write operations
    - [ ] Implement RDMA credits management
    - [ ] Add fallback to TCP when RDMA unavailable
    
    #### 5.3 Integration Points
    - Create new transport type alongside TCP
    - Modify negotiation to include RDMA contexts
    - Update read/write operations for RDMA
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            }
        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
            // Simulate successful negotiation for skeleton implementation
            RdmaNegotiateResponse response = new RdmaNegotiateResponse();
            response.setStatus(0); // Success
            response.setSelectedVersion(request.getMaxVersion());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

        private static final Logger log = LoggerFactory.getLogger(NtlmContext.class);
    
        /**
         * The NTLMSSP OID (1.3.6.1.4.1.311.2.2.10) used in SPNEGO negotiation.
         */
        public static ASN1ObjectIdentifier NTLMSSP_OID;
    
        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top