Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for anonymous (0.28 sec)

  1. cmd/auth-handler.go

    	return cred, owner, ErrNone
    }
    
    // checkAdminRequestAuth checks for authentication and authorization for the incoming
    // request. It only accepts V2 and V4 requests. Presigned, JWT and anonymous requests
    // are automatically rejected.
    func checkAdminRequestAuth(ctx context.Context, r *http.Request, action policy.AdminAction, region string) (auth.Credentials, APIErrorCode) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/common-main.go

    	ctxt.JSON = ctx.IsSet("json") || ctx.GlobalIsSet("json")
    	// Get quiet flag from command line argument.
    	ctxt.Quiet = ctx.IsSet("quiet") || ctx.GlobalIsSet("quiet")
    	// Get anonymous flag from command line argument.
    	ctxt.Anonymous = ctx.IsSet("anonymous") || ctx.GlobalIsSet("anonymous")
    	// Fetch address option
    	ctxt.Addr = ctx.GlobalString("address")
    	if ctxt.Addr == "" || ctxt.Addr == ":"+GlobalMinioDefaultPort {
    		ctxt.Addr = ctx.String("address")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  3. cmd/bucket-policy-handlers_test.go

    			}
    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// Bucket policy related functions doesn't support anonymous requests, setting policies shouldn't make a difference.
    	// create unsigned HTTP request for PutBucketPolicyHandler.
    	anonReq, err := newTestRequest(http.MethodGet, getPutPolicyURL("", bucketName), 0, nil)
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for bucket \"%s\": <ERROR> %v",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    func TestS3SupportedAuthType(t *testing.T) {
    	type testCase struct {
    		authT authType
    		pass  bool
    	}
    	// List of all valid and invalid test cases.
    	testCases := []testCase{
    		// Test 1 - supported s3 type anonymous.
    		{
    			authT: authTypeAnonymous,
    			pass:  true,
    		},
    		// Test 2 - supported s3 type presigned.
    		{
    			authT: authTypePresigned,
    			pass:  true,
    		},
    		// Test 3 - supported s3 type signed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. cmd/bucket-handlers_test.go

    		}
    
    	}
    
    	// Test for Anonymous/unsigned http request.
    	anonReq, err := newTestRequest(http.MethodHead, getHEADBucketURL("", bucketName), 0, nil)
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for bucket \"%s\": <ERROR> %v",
    			instanceType, bucketName, err)
    	}
    
    	// ExecObjectLayerAPIAnonTest - Calls the HTTP API handler using the anonymous request, validates the ErrAccessDeniedResponse,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
  6. cmd/globals.go

    	cmdline string
    	layout  [][]string
    }
    
    type disksLayout struct {
    	legacy bool
    	pools  []poolDisksLayout
    }
    
    type serverCtxt struct {
    	JSON, Quiet               bool
    	Anonymous                 bool
    	StrictS3Compat            bool
    	Addr, ConsoleAddr         string
    	ConfigDir, CertsDir       string
    	configDirSet, certsDirSet bool
    	Interface                 string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. cmd/bucket-targets.go

    	sys.hMutex.Lock()
    	sys.hc[ep.Host] = epHealth{
    		Endpoint: ep.Host,
    		Scheme:   ep.Scheme,
    		Online:   true,
    	}
    	sys.hMutex.Unlock()
    }
    
    // newHCClient initializes an anonymous client for performing health check on the remote endpoints
    func newHCClient() *madmin.AnonymousClient {
    	clnt, e := madmin.NewAnonymousClientNoEndpoint()
    	if e != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  8. schema/field.go

    			}
    
    			if !strings.Contains(v, "update") {
    				field.Updatable = false
    			}
    		}
    	}
    
    	// Normal anonymous field or having `EMBEDDED` tag
    	if _, ok := field.TagSettings["EMBEDDED"]; ok || (field.GORMDataType != Time && field.GORMDataType != Bytes && !isValuer &&
    		fieldStruct.Anonymous && (field.Creatable || field.Updatable || field.Readable)) {
    		kind := reflect.Indirect(fieldValue).Kind()
    		switch kind {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  9. internal/logger/logger.go

    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/color"
    	xhttp "github.com/minio/minio/internal/http"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // HighwayHash key for logging in anonymous mode
    var magicHighwayHash256Key = []byte("\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0")
    
    // Enumerated level types
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    	w.emitf(typeStruct)
    	defer w.pushScope(typeStruct)()
    
    	for i := 0; i < typ.NumFields(); i++ {
    		f := typ.Field(i)
    		if !f.Exported() {
    			continue
    		}
    		typ := f.Type()
    		if f.Anonymous() {
    			if w.isDeprecated(f) {
    				w.emitf("embedded %s //deprecated", w.typeString(typ))
    			}
    			w.emitf("embedded %s", w.typeString(typ))
    			continue
    		}
    		if w.isDeprecated(f) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top