Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 543 for Validate (0.06 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

        }
    
        @Test
        public void testInvalidUncPath() throws Exception {
            // Due to normalization removing duplicate backslashes, true UNC validation doesn't work
            // These tests validate current behavior where problematic paths are caught by other checks
    
            // Test invalid server name with dots - caught by directory traversal check
            assertThrows(SmbException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

                final String endpoint = System.getenv("GCS_ENDPOINT");
                final String credentialsFile = System.getenv("GCS_CREDENTIALS_FILE");
    
                // Validate projectId before attempting connection
                if (StringUtil.isBlank(projectId)) {
                    throw new IOException("GCS_PROJECT_ID is blank.");
                }
    
                try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

                final String secretKey = System.getenv().get("S3_SECRET_KEY");
                final String region = System.getenv().getOrDefault("S3_REGION", "us-east-1");
    
                // Validate endpoint before attempting connection
                if (StringUtil.isBlank(endpoint)) {
                    throw new IOException("S3_ENDPOINT is blank.");
                }
    
                try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. impl/maven-core/lifecycle-executor.txt

              <type>java.lang.String[]</type>
              <required>false</required>
              <editable>true</editable>
            </parameter>
          </parameters>
    
    - we need to know what came from the POM, and validate those
    - plugin in any default values
    - check to see if anything is missing
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  5. cmd/prepare-storage.go

    	resp, err := httpClient.Do(req)
    	if err != nil {
    		return err
    	}
    	xhttp.DrainBody(resp.Body)
    
    	return nil
    }
    
    // connect to list of endpoints and load all Erasure disk formats, validate the formats are correct
    // and are in quorum, if no formats are found attempt to initialize all of them for the first
    // time. additionally make sure to close all the disks used in this attempt.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            transformHeader.setOriginalMessageSize(messageSize);
    
            // Then
            assertEquals(messageSize, transformHeader.getOriginalMessageSize());
        }
    
        @Test
        @DisplayName("Should validate protocol ID")
        void testProtocolIdValidation() {
            // Given
            byte[] validProtocolId = { (byte) 0xFD, 'S', 'M', 'B' };
            byte[] invalidProtocolId = { 'I', 'N', 'V', 'D' };
    
            // When/Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            verify(treeConnection, times(2)).isSame(otherConn);
        }
    
        @Test
        @DisplayName("Buffer sizes and signing flags from negotiate response")
        void bufferSizesAndSigning() throws Exception {
            // Validate buffer sizes and signing flag are read from negotiate response
            SmbNegotiationResponse nego = mock(SmbNegotiationResponse.class);
            when(transport.getNegotiateResponse()).thenReturn(nego);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. CLAUDE.md

    long maxAccessCount = 0         // Max URLs (0 = unlimited)
    ```
    
    ### CrawlerThread (`CrawlerThread.java`)
    
    Worker thread for crawling.
    
    **Flow**: Poll URL → Validate → Get client → Delay → Check last-modified → Execute → Process → Extract children → Queue children → Delay
    
    ### CrawlerClientFactory
    
    Pattern-based client selection using `LinkedHashMap<Pattern, CrawlerClient>`.
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 28 17:31:34 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Directory leasing requires SMB 3.0 or higher
            // MS-SMB2: Level 2 leasing (which includes directory leasing) is only supported in SMB 3.0+
            // We'll validate this when we actually need to use the session
    
            // Request base lease
            Smb2LeaseKey leaseKey = baseLeaseManager.requestLease(directoryPath, requestedState);
    
            // Create directory cache entry
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/UniAddressTest.java

                assertFalse(UniAddress.isDotQuadIP(input));
            }
    
            @Test
            void shouldReturnTrueForInvalidOctetValues() {
                // isDotQuadIP does not validate octet values, only checks format
                assertTrue(UniAddress.isDotQuadIP("192.168.1.256"));
                assertTrue(UniAddress.isDotQuadIP("999.999.999.999"));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top