Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 661 for validates (0.07 seconds)

  1. cmd/signature-v4-parser_test.go

    		t.Errorf("Test %d: scope request mismatch:Expected \"%s\", got \"%s\"", testNum, expectedCredentials.scope.request, actualCredential.scope.request)
    	}
    }
    
    // TestParseCredentialHeader - validates the format validator and extractor for the Credential header in an aws v4 request.
    // A valid format of credential should be of the following format.
    // Credential = accessKey + SlashSeparator+ scope
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:35 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  2. cmd/bucket-handlers_test.go

    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getReadOnlyBucketStatement` so that the
    	// unsigned request goes through and its validated again.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 39.8K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            final String sessionId = "session5";
            final List<String> emptyList = Collections.emptyList();
    
            // Should not throw exception when adding empty list
            // This validates the early return optimization
            try {
                urlFilterService.addIncludeUrlFilter(sessionId, emptyList);
            } catch (final Exception e) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

     * limitations under the License.
     */
    package okhttp3.testing
    
    import okhttp3.internal.platform.Platform
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

    /**
     * SitemapsRule is a rule implementation that extends RegexRule to determine if a given response data
     * represents a valid sitemap. It uses a SitemapsHelper to validate the response body as an InputStream.
     * The rule checks if the URL matches the defined regex pattern and then validates the content as a sitemap.
     * If any exception occurs during the sitemap validation, it logs the error and returns false.
     *
     */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/AuthenticationProvider.java

         */
        byte[] getSessionKey();
    
        /**
         * Gets the signing key for SMB2/3
         *
         * @return the signing key or null if not available
         */
        byte[] getSigningKey();
    
        /**
         * Validates authentication credentials
         *
         * @return true if credentials are valid
         */
        boolean validateCredentials();
    
        /**
         * Clears sensitive authentication data
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
  7. internal/bucket/replication/filter.go

    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	// A Filter must have exactly one of Prefix, Tag, or And specified.
    	if !f.And.isEmpty() {
    		if f.Prefix != "" {
    			return errInvalidFilter
    		}
    		if !f.Tag.IsEmpty() {
    			return errInvalidFilter
    		}
    		if err := f.And.Validate(); err != nil {
    			return err
    		}
    	}
    	if f.Prefix != "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/pac/PacCredentialType.java

            this.credentialType = data;
            if (!isCredentialTypeCorrect()) {
                throw new PACDecodingException("Invalid PAC credential type");
            }
        }
    
        /**
         * Validates whether the credential type data is correct.
         * @return true if the credential type is valid, false otherwise
         */
        public boolean isCredentialTypeCorrect() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. internal/bucket/replication/destination.go

    			return fmt.Errorf("unknown storage class %s", dest.StorageClass)
    		}
    	}
    	parsedDest.StorageClass = dest.StorageClass
    	*d = parsedDest
    	return nil
    }
    
    // Validate - validates Resource is for given bucket or not.
    func (d Destination) Validate(bucketName string) error {
    	if !d.IsValid() {
    		return Errorf("invalid destination")
    	}
    
    	if !wildcard.Match(d.Bucket, bucketName) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 4K bytes
    - Click Count (0)
  10. cmd/bucket-encryption.go

    	sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
    	return sseCfg, err
    }
    
    // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO.
    func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) {
    	encConfig, err := sse.ParseBucketSSEConfig(r)
    	if err != nil {
    		return nil, err
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.7K bytes
    - Click Count (1)
Back to Top