Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isAllowCompound (0.68 sec)

  1. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public boolean allowChain(final CommonServerMessageBlockRequest next) {
            return getConfig().isAllowCompound(getClass().getSimpleName()) && getConfig().isAllowCompound(next.getClass().getSimpleName());
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#createCancel()
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test isAllowCompound method")
        void testIsAllowCompound() {
            // Default behavior when disallowCompound is null
            assertTrue(config.isAllowCompound("AnyCommand"));
    
            // Set disallowCompound
            config.disallowCompound = new HashSet<>(Arrays.asList("Command1", "Command2"));
    
            assertFalse(config.isAllowCompound("Command1"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                when(mockConfig.isAllowCompound("TestServerMessageBlock2Request")).thenReturn(true);
    
                boolean result = testRequest.allowChain(nextRequest);
    
                assertTrue(result);
                verify(mockConfig, times(2)).isAllowCompound("TestServerMessageBlock2Request");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ConfigurationTest.java

                mockConfig.getNotifyBufferSize();
                mockConfig.getMaxRequestRetries();
                mockConfig.isStrictResourceLifecycle();
                mockConfig.isTraceResourceUsage();
                mockConfig.isAllowCompound("cmd");
                mockConfig.getMachineId();
                mockConfig.isDisableSpnegoIntegrity();
                mockConfig.isEnforceSpnegoIntegrity();
                mockConfig.isSendNTLMTargetName();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.getBatchLimit(cmd);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isAllowCompound(java.lang.String)
         */
        @Override
        public boolean isAllowCompound(final String command) {
            return this.delegate.isAllowCompound(command);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isTraceResourceUsage()
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/config/BaseConfiguration.java

                return set;
            }
            return 1;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isAllowCompound(java.lang.String)
         */
        @Override
        public boolean isAllowCompound(final String command) {
            if (this.disallowCompound == null) {
                return true;
            }
            return !this.disallowCompound.contains(command);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/Configuration.java

         *
         * @param command the SMB command to check
         * @return whether to allow creating compound requests with that command
         */
        boolean isAllowCompound(String command);
    
        /**
         * Machine identifier
         *
         * ClientGuid, ... are derived from this value.
         *
         * Normally this should be randomly assigned for each client instance/configuration.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top