Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for enforced (0.33 sec)

  1. src/main/java/org/codelibs/core/lang/MethodUtil.java

         * @return The result of dispatching the method to the object using the parameters {@code args}
         * @throws IllegalAccessRuntimeException
         *             If this {@link Method} object enforces Java language access control and the underlying method is not accessible
         * @throws InvocationTargetRuntimeException
         *             If the underlying method throws an exception
         * @see Method#invoke(Object, Object[])
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/HostIntervalController.java

        }
    
        /**
         * Delays before processing a URL, ensuring that requests to the same host are not made too frequently.
         * This method extracts the host from the URL and enforces a delay based on the configured
         * delayMillisBeforeProcessing parameter.
         *
         * @throws InterruptedRuntimeException if the thread is interrupted during the delay
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertNotNull(contexts);
            assertEquals(0, contexts.length);
            assertNull(request.getPreauthSalt());
        }
    
        @Test
        @DisplayName("Should enforce signing when required flag is set")
        void testSigningEnforced() {
            // When
            request = new Smb2NegotiateRequest(mockConfig, Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         * Share flag indicating that exclusive opens are restricted on this share.
         */
        public static final int SMB2_SHAREFLAG_RESTRICT_EXCLUSIVE_OPENS = 0x100;
        /**
         * Share flag indicating that shared delete is forced for this share.
         */
        public static final int SMB2_SHAREFLAG_FORCE_SHARED_DELETE = 0x200;
        /**
         * Share flag indicating that namespace caching is allowed on this share.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/SmbNegotiationResponse.java

        /**
         * Checks whether a connection can be reused for the given configuration.
         *
         * @param tc the CIFS context to check compatibility with
         * @param forceSigning whether signing is being forced
         * @return whether a connection can be reused for this config
         */
        boolean canReuse(CIFSContext tc, boolean forceSigning);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/PreauthIntegrityService.java

         *
         * @param secureRandom the secure random generator
         * @param hashAlgorithm the hash algorithm to use
         * @param enforceIntegrity whether to enforce integrity checks
         */
        public PreauthIntegrityService(SecureRandom secureRandom, int hashAlgorithm, boolean enforceIntegrity) {
            this.secureRandom = secureRandom != null ? secureRandom : new SecureRandom();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTransportPoolTest.java

                assertEquals(transport, result);
                verify(transportPool).getSmbTransport(context, TEST_HOST, DEFAULT_PORT, true, false);
            }
    
            @Test
            @DisplayName("Should get transport by name with forced signing")
            void testGetSmbTransportByNameForceSigning() throws UnknownHostException, IOException {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

            // Arrange - mock cause to verify no interactions are needed to construct
            Throwable cause = Mockito.mock(Throwable.class);
            String message = "forced downgrade detected";
    
            // Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);
    
            // Assert - fields preserved
            assertSame(cause, ex.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SpnegoContextTest.java

        @Mock
        Configuration config;
    
        @Mock
        SSPContext mechContext;
    
        private ASN1ObjectIdentifier[] mechs;
    
        @BeforeEach
        void setup() {
            // Default: do not enforce or disable SPNEGO integrity
            when(this.config.isEnforceSpnegoIntegrity()).thenReturn(false);
            when(this.config.isDisableSpnegoIntegrity()).thenReturn(false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

            int len;
            try {
                while ((len = reader.read(buf, size, bufferSize - size)) != -1) {
                    size += len;
                    if (size == bufferSize) {
                        // Enforce MAX_BUF_SIZE to prevent unbounded memory growth
                        final int newBufferSize = bufferSize + initialCapacity;
                        if (newBufferSize > MAX_BUF_SIZE) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top