Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 522 for validateId (0.04 sec)

  1. cmd/bucket-listobjects-handlers.go

    package cmd
    
    import (
    	"context"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    
    	"github.com/minio/pkg/v3/policy"
    )
    
    // Validate all the ListObjects query arguments, returns an APIErrorCode
    // if one of the args do not meet the required conditions.
    // Special conditions required by MinIO server are as below
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_security/test_tutorial004.py

        client = TestClient(mod.app)
        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_incorrect_token_type(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication-handlers.go

    	if apiErr != noError {
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    	// Validate the received bucket replication config
    	if err = replicationConfig.Validate(bucket, sameTarget); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	configData, err := xml.Marshal(replicationConfig)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. maven-tests/mvnw.cmd

    }
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    $webclient.DownloadFile($distributionUrl, "$TMP_DOWNLOAD_DIR/$distributionUrlName") | Out-Null
    
    # If specified, validate the SHA-256 sum of the Maven distribution zip file
    $distributionSha256Sum = (Get-Content -Raw "$scriptDir/.mvn/wrapper/maven-wrapper.properties" | ConvertFrom-StringData).distributionSha256Sum
    if ($distributionSha256Sum) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Sep 25 18:22:49 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/DefaultLifecyclesStub.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     */
    public class DefaultLifecyclesStub {
        public static DefaultLifecycles createDefaultLifecycles() throws ComponentLookupException {
    
            List<String> stubDefaultCycle = Arrays.asList(
                    VALIDATE.getPhase(),
                    INITIALIZE.getPhase(),
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/CronExpressionValidator.java

            return determineValid(value);
        }
    
        /**
         * Determines if the given value is a valid cron expression.
         * @param value the value to validate
         * @return true if valid, false otherwise
         */
        protected boolean determineValid(final String value) {
            if (StringUtil.isNotBlank(value) && !LaCronUtil.isCronExpValid(value)) {
                return false;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

     */
    package jcifs.internal.smb2.ioctl;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Validate Negotiate Info request data structure. This structure is used to validate
     * that the negotiated SMB2 dialect matches what was originally negotiated.
     *
     * @author mbechler
     *
     */
    public class ValidateNegotiateInfoRequest implements Encodable {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                this.provider = Crypto.getProvider();
                break;
            default:
                throw new IllegalArgumentException("Unknown dialect");
            }
    
            // Initialize the digest once to validate configuration
            this.digest = createMacInstance();
        }
    
        /**
         * Create a new Mac instance for thread-safe operations
         * @return initialized Mac instance
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. cmd/handler-utils.go

    	if location == "" {
    		location = globalSite.Region()
    	}
    	if !isValidLocation(location) {
    		return location, ErrInvalidRegion
    	}
    
    	return location, ErrNone
    }
    
    // Validates input location is same as configured region
    // of MinIO server.
    func isValidLocation(location string) bool {
    	region := globalSite.Region()
    	return region == "" || region == location
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  10. cmd/admin-handler-utils.go

    	"github.com/minio/kms-go/kes"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // validateAdminReq will validate request against and return whether it is allowed.
    // If any of the supplied actions are allowed it will be successful.
    // If nil ObjectLayer is returned, the operation is not permitted.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top