Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 661 for validates (0.05 seconds)

  1. cmd/bucket-policy-handlers_test.go

    			instanceType, bucketName, err)
    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` 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
    - 32.9K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            return body;
        }
    
        /**
         * Validates if the given web configuration ID exists.
         *
         * @param webconfigId the web configuration ID to validate
         * @return true if the web configuration exists, false otherwise
         */
        protected Boolean isValidWebConfigId(final String webconfigId) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            return body;
        }
    
        /**
         * Validates if the given web configuration ID exists.
         *
         * @param webconfigId the web configuration ID to validate
         * @return true if the web configuration exists, false otherwise
         */
        protected Boolean isValidWebConfigId(final String webconfigId) {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand");
            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  5. cmd/api-resources_test.go

    		}
    		if encodingType != testCase.encodingType {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.encodingType, encodingType)
    		}
    	}
    }
    
    // Validates extracting information for object resources.
    func TestGetObjectsResources(t *testing.T) {
    	testCases := []struct {
    		values                     url.Values
    		uploadID                   string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 7.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

        // ===================================================================================
        // Search Execute
        //
    
        /**
         * Performs bulk document operations (index multiple documents).
         * Validates document fields and adds default values where necessary.
         *
         * @param body the bulk request body containing documents to process
         * @return JSON response with bulk operation results
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. cmd/object-api-interface.go

    type CheckPreconditionFn func(o ObjectInfo) bool
    
    // EvalMetadataFn validates input objInfo and GetObjectInfo error and returns an updated metadata and replication decision if any
    type EvalMetadataFn func(o *ObjectInfo, gerr error) (ReplicateDecision, error)
    
    // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

         */
        protected void write(final String path, final byte[] data) {
            validateFilePath(path);
            LdiFileUtil.write(path, data);
        }
    
        /**
         * Validates the file path.
         *
         * @param path the file path to validate
         */
        protected void validateFilePath(final String path) {
            if (StringUtil.isBlank(path)) {
                throw new IllegalArgumentException("File path cannot be empty");
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // This test validates integration patterns without requiring real cluster
    
            // Simulate witness service discovery
            InetAddress mockWitnessAddress = InetAddress.getByName("127.0.0.1");
    
            // Test witness client initialization patterns
            assertDoesNotThrow(() -> {
                // Validate that witness client configuration is properly set up
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  10. internal/config/identity/openid/jwt.go

    	claims["exp"] = time.Now().UTC().Add(defaultExpiryDuration).Unix() // update with new expiry.
    	return nil
    }
    
    const (
    	audClaim = "aud"
    	azpClaim = "azp"
    )
    
    // Validate - validates the id_token.
    func (r *Config) Validate(ctx context.Context, arn arn.ARN, token, accessToken, dsecs string, claims map[string]any) error {
    	jp := new(jwtgo.Parser)
    	jp.ValidMethods = []string{
    		"RS256", "RS384", "RS512",
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top