Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for validators (0.07 sec)

  1. cmd/xl-storage_test.go

    	testCases := []struct {
    		name string
    		err  error
    	}{
    		// Validates input argument cannot be empty.
    		{
    			"",
    			errInvalidArgument,
    		},
    		// Validates if the directory does not exist and
    		// gets automatically created.
    		{
    			tmpDirName,
    			nil,
    		},
    		// Validates if the disk exists as file and returns error
    		// not a directory.
    		{
    			tmpFileName,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 66K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

        }
    
        /**
         * Updates the LDAP configuration.
         */
        public void updateConfig() {
            isBind = false;
        }
    
        /**
         * Validates the LDAP connection.
         *
         * @return True if the LDAP connection is valid, otherwise false.
         */
        protected boolean validate() {
            if (!isBind) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 82K bytes
    - Viewed (0)
  3. cmd/iam.go

    	if !auth.IsSecretKeyValid(secretKey) {
    		return auth.ErrInvalidSecretKeyLength
    	}
    
    	return sys.store.UpdateUserSecretKey(ctx, accessKey, secretKey)
    }
    
    // purgeExpiredCredentialsForExternalSSO - validates if local credentials are still valid
    // by checking remote IDP if the relevant users are still active and present.
    func (sys *IAMSys) purgeExpiredCredentialsForExternalSSO(ctx context.Context) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  4. cmd/object-api-multipart_test.go

    func TestObjectAPIIsUploadIDExists(t *testing.T) {
    	ExecObjectLayerTest(t, testObjectAPIIsUploadIDExists)
    }
    
    // Tests validates the validator for existence of uploadID.
    func testObjectAPIIsUploadIDExists(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucket := "minio-bucket"
    	object := "minio-object"
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(responseData.getSessionId());
            return crawlingConfig.getConfigParameterMap(config);
        }
    
        /**
         * Validates if the given URL string is a valid URL.
         *
         * @param urlStr the URL string to validate
         * @return true if the URL is valid, false otherwise
         */
        protected boolean isValidUrl(final String urlStr) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	Code           string
    	Description    string
    	HTTPStatusCode int
    	ObjectSize     int64
    }
    
    func (e batchReplicationJobError) Error() string {
    	return e.Description
    }
    
    // Validate validates the job definition input
    func (r *BatchJobReplicateV1) Validate(ctx context.Context, job BatchJobRequest, o ObjectLayer) error {
    	if r == nil {
    		return nil
    	}
    
    	if r.APIVersion != batchReplJobAPIVersion {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    			if err = json.Unmarshal(data, &serviceAcctReqs); err != nil {
    				writeErrorResponseJSON(ctx, w, importErrorWithAPIErr(ctx, ErrAdminConfigBadJSON, err, allSvcAcctsFile, ""), r.URL)
    				return
    			}
    
    			// Validations for LDAP enabled deployments.
    			if globalIAMSys.LDAPConfig.Enabled() {
    				skippedAccessKeys, err := globalIAMSys.NormalizeLDAPAccessKeypairs(ctx, serviceAcctReqs)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 90.6K bytes
    - Viewed (0)
Back to top