Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 75 for negotiated (1.05 sec)

  1. src/main/java/jcifs/smb1/http/NtlmSsp.java

    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.util.Base64;
    
    /**
     * This class is used internally by {@code NtlmHttpFilter},
     * {@code NtlmServlet}, and {@code NetworkExplorer} to negiotiate password
     * hashes via NTLM SSP with MSIE. It might also be used directly by servlet
     * containers to incorporate similar functionality.
     * <p>
     * How NTLMSSP is used in conjunction with HTTP and MSIE clients is
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

         * @return A <code>byte[]</code> containing the local security
         * context.  This is used by the client to negotiate local
         * authentication.
         */
        public byte[] getContext() {
            return context;
        }
    
        /**
         * Sets the local security context.  This is used by the client
         * to negotiate local authentication.
         *
         * @param context The local security context.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbSessionImplTest.java

            assertSame(transport, t);
            verify(transport, times(1)).acquire();
        }
    
        @Test
        @DisplayName("isSignatureSetupRequired depends on digest and negotiate flags")
        void testIsSignatureSetupRequired() throws Exception {
            SmbSessionImpl session = newSession();
    
            // Case 1: digest already set -> false
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

         *         context. This is used by the client to negotiate local
         *         authentication.
         */
        public byte[] getContext() {
            return this.context;
        }
    
        /**
         * Sets the local security context. This is used by the client
         * to negotiate local authentication.
         *
         * @param context
         *            The local security context.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SpnegoContext.java

            }
            if (len == 0) {
                resp = initialToken();
            } else {
                resp = negotitate(inputBuf, offset, len);
            }
    
            if (resp == null) {
                return null;
            }
            return resp.toByteArray();
        }
    
        private SpnegoToken negotitate(final byte[] inputBuf, final int offset, final int len) throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertTrue(context.isEstablished());
            assertArrayEquals(serverChallenge, context.getServerChallenge());
            // Signing key may or may not be generated depending on flags negotiation
            // The context negotiates flags with server, so we can't guarantee signing key
        }
    
        @Test
        void testInitSecContext_state2_withoutSigning() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            // TCP fallback doesn't support real RDMA write
            throw new UnsupportedOperationException("RDMA write not supported by TCP fallback");
        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
            // For TCP fallback, we simulate successful negotiation
            RdmaNegotiateResponse response = new RdmaNegotiateResponse();
            response.setStatus(0); // Success
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to trim file level storage
         */
        public static final int FSCTL_FILE_LEVEL_TRIM = 0x00098208;
        /**
         * Function code to validate SMB2 negotiate information
         */
        public static final int FSCTL_VALIDATE_NEGOTIATE_INFO = 0x000140204;
    
        /**
         * Flag indicating this IOCTL is a file system control operation
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("DiSNI RDMA write failed", e);
            }
        }
    
        @Override
        public RdmaNegotiateResponse negotiate(RdmaNegotiateRequest request) throws IOException {
            // Simulate successful negotiation for skeleton implementation
            RdmaNegotiateResponse response = new RdmaNegotiateResponse();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                boolean result = response.verifySignature(buffer, 0, 100);
    
                assertTrue(result);
            }
    
            @Test
            @DisplayName("Should verify signature on error when secure negotiate required")
            void testVerifySignatureErrorWithSecureNegotiate() {
                byte[] buffer = new byte[100];
                response.setDigest(mockDigest);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top