Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for negotitate (0.21 sec)

  1. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
            // Create a custom filter that overrides negotiate to test skipAuthentication
            NtlmHttpFilter customFilter = new NtlmHttpFilter() {
                @Override
                protected NtlmPasswordAuthentication negotiate(HttpServletRequest req, HttpServletResponse resp, boolean skipAuthentication)
                        throws IOException, ServletException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

      internal const val B0_FLAG_FIN = 128
    
      /** Byte 0 reserved flag 1. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV1 = 64
    
      /** Byte 0 reserved flag 2. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV2 = 32
    
      /** Byte 0 reserved flag 3. Must be 0 unless negotiated otherwise. */
      internal const val B0_FLAG_RSV3 = 16
    
      /** Byte 0 mask for the frame opcode. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/SmbNegotiationRequest.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal;
    
    /**
     * Interface for SMB protocol negotiation request messages.
     * Represents the client's request to negotiate SMB protocol version and capabilities
     * with the server, including security requirements like message signing.
     *
     * @author mbechler
     */
    public interface SmbNegotiationRequest {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java

            byte[] initialHash = preauthService.getCurrentPreauthHash(sessionId);
            assertNotNull(initialHash);
    
            // Update with negotiate message
            byte[] negotiateMessage = "SMB2 Negotiate Request".getBytes();
            preauthService.updatePreauthHash(sessionId, negotiateMessage);
    
            byte[] afterNegotiateHash = preauthService.getCurrentPreauthHash(sessionId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            // Arrange & Act
            SmbUnsupportedOperationException ex = new SmbUnsupportedOperationException();
    
            // Assert
            assertEquals("Operation is not supported with the negotiated capabilities", ex.getMessage(),
                    "Default message should match the class contract");
            assertNull(ex.getCause(), "No cause expected from default constructor");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(transport.isSMB2()).thenReturn(false);
            when(transport.getContext()).thenReturn(context);
            when(session.getTargetHost()).thenReturn("localhost");
    
            // Mock negotiate response for SMB1
            SmbComNegotiateResponse nego = mock(SmbComNegotiateResponse.class);
            ServerData serverData = new ServerData();
            when(nego.getServerData()).thenReturn(serverData);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            when(negotiateResponse.getSelectedPreauthHash()).thenReturn(1); // SHA-512
            setPrivateField(transport, "smb2", true);
            setPrivateField(transport, "negotiated", negotiateResponse);
    
            int threadCount = 10;
            CountDownLatch startLatch = new CountDownLatch(1);
            CountDownLatch doneLatch = new CountDownLatch(threadCount);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

                this.encryptionKey = encryptionKey.clone();
                this.decryptionKey = decryptionKey.clone();
            }
        }
    
        /**
         * Get the negotiated cipher identifier
         * @return the negotiated cipher ID
         */
        public int getCipherId() {
            return this.cipherId;
        }
    
        /**
         * Get the SMB dialect version
         * @return the SMB dialect version
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTreeImpl.java

            try {
                resp = send(req, RequestParam.NO_RETRY);
            } catch (final SMBSignatureValidationException e) {
                throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e);
            } catch (final SmbException e) {
                if (log.isDebugEnabled()) {
                    log.debug(String.format("VALIDATE_NEGOTIATE_INFO response code 0x%x", e.getNtStatus()));
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

    import jcifs.config.PropertyConfiguration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.nego.CompressionNegotiateContext;
    
    /**
     * Comprehensive tests for SMB3 compression negotiate context.
     */
    public class CompressionNegotiateContextTest {
    
        private Configuration config;
        private CompressionNegotiateContext context;
    
        @BeforeEach
        public void setUp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top