Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isAllowCompound (0.35 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top