Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for CREDENTIAL (0.06 sec)

  1. cmd/signature-v4-parser.go

    		return psv, ErrInvalidQuerySignatureAlgo
    	}
    
    	// Initialize signature version '4' structured header.
    	preSignV4Values := preSignValues{}
    
    	// Save credential.
    	preSignV4Values.Credential, aec = parseCredentialHeader("Credential="+query.Get(xhttp.AmzCredential), region, stype)
    	if aec != ErrNone {
    		return psv, aec
    	}
    
    	var e error
    	// Save date in native time.Time.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils_test.go

    	}{
    		{"shastring", "", "shastring"},
    		{emptySHA256, "", emptySHA256},
    		{"", "", emptySHA256},
    		{"", "X-Amz-Credential=random", unsignedPayload},
    		{"", "X-Amz-Credential=random&X-Amz-Content-Sha256=" + unsignedPayload, unsignedPayload},
    		{"", "X-Amz-Credential=random&X-Amz-Content-Sha256=shastring", "shastring"},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 05 21:26:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	// Add the date condition, only accept the current date.
    	dateConditionStr := fmt.Sprintf(`["eq", "$x-amz-date", "%s"]`, t.Format(iso8601DateFormat))
    	// Add the credential string, only accept the credential passed.
    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/RecordingOkAuthenticator.kt

        responses += response
        routes += route
        if (!schemeMatches(response) || credential == null) return null
        val header =
          when (response.code) {
            407 -> "Proxy-Authorization"
            else -> "Authorization"
          }
        return response.request.newBuilder()
          .addHeader(header, credential)
          .build()
      }
    
      private fun schemeMatches(response: Response): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser_test.go

    	}
    }
    
    // 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
    // where scope = string.Join([]string{  currTime.Format(yyyymmdd),
    //
    //				globalMinioDefaultRegion,
    //	              	"s3",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosCredentials.java

            Set<Object> serverPrivateCredentials = this.subject.getPrivateCredentials();
            for ( Object credential : serverPrivateCredentials )
                if ( credential instanceof KerberosKey )
                    if ( ( (KerberosKey) credential ).getKeyType() == keyType )
                        serverKey = (KerberosKey) credential;
    
            return serverKey;
        }
    
    
        public Subject getSubject () {
            return this.subject;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. cmd/warm-backend-azure.go

    	}
    
    	if conf.IsSPEnabled() {
    		credential, err := azidentity.NewClientSecretCredential(conf.SPAuth.TenantID, conf.SPAuth.ClientID, conf.SPAuth.ClientSecret, &azidentity.ClientSecretCredentialOptions{})
    		if err != nil {
    			return nil, err
    		}
    		return azblob.NewClient(ep, credential, &azblob.ClientOptions{})
    	}
    	credential, err := azblob.NewSharedKeyCredential(conf.AccountName, conf.AccountKey)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-oidc.sh

    sleep 5
    
    # Generate STS credential with STS call to minio1
    STS_CRED=$(MINIO_ENDPOINT=http://localhost:9001 go run ./docs/site-replication/gen-oidc-sts-cred.go)
    
    MC_HOST_foo=http://${STS_CRED}@localhost:9001 ./mc ls foo
    if [ $? -ne 0 ]; then
    	echo "Expected sts credential to work, exiting.."
    	exit_1
    fi
    
    sleep 2
    
    # Check that the STS credential works on minio2 and minio3.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java

                this.resolver = resolver;
            }
    
            public <CREDENTIAL extends LoginCredential> void resolve(final Class<CREDENTIAL> credentialType,
                    final Function<CREDENTIAL, OptionalEntity<FessUser>> oneArgLambda) {
                resolver.resolve(credentialType, credential -> oneArgLambda.apply(credential));
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. cmd/signature-v4_test.go

    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    		// (0) It should fail if 'X-Amz-Credential' is missing.
    		{
    			form:     http.Header{},
    			expected: ErrCredMalformed,
    		},
    		// (1) It should fail if the access key is incorrect.
    		{
    			form: http.Header{
    				"X-Amz-Credential": []string{fmt.Sprintf(credentialTemplate, "EXAMPLEINVALIDEXAMPL", now.Format(yyyymmdd), globalMinioDefaultRegion)},
    			},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top