Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getNegotiatedCapabilities (0.13 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub());
        }
    
        private void setupNegotiateStubs() {
            when(mockNegotiate.getNegotiatedCapabilities()).thenReturn(0x00123456);
            when(mockNegotiate.getNegotiatedSendBufferSize()).thenReturn(65535);
            when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                final Object cred) throws SmbException, GeneralSecurityException {
            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
            this.negotiated = negotiated;
            this.capabilities = negotiated.getNegotiatedCapabilities();
            final ServerData server = negotiated.getServerData();
            if (server.security == SmbConstants.SECURITY_USER) {
                if (cred instanceof final NtlmPasswordAuthenticator a) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top