Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isSigningOptional (0.67 sec)

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

        }
    
        // Signing modes: optional vs enforced
        @Test
        @DisplayName("isSigningOptional and isSigningEnforced reflect configuration")
        void signingModes() throws Exception {
            when(transport.isSigningOptional()).thenReturn(true);
            when(transport.isSigningEnforced()).thenReturn(false);
    
            assertTrue(transport.isSigningOptional());
            assertFalse(transport.isSigningEnforced());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

            // Enforced via constructor flag -> optional false, enforced true regardless of negotiation
            SmbTransportImpl enforced = new SmbTransportImpl(ctx, address, 445, null, 0, true);
            assertFalse(enforced.isSigningOptional());
            assertTrue(enforced.isSigningEnforced());
    
            // Negotiated required -> enforced true; negotiated enabled-only -> optional true
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

                final SmbTransportInternal trans, final SmbTreeImpl t, final DfsReferralData referral) throws CIFSException {
            if (log.isDebugEnabled() && trans.isSigningOptional() && !loc.isIPC() && !this.ctx.getConfig().isSigningEnforced()) {
                log.debug("Signatures for file enabled but not required " + this);
            }
    
            if (referral != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
Back to top