Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for anonymous (0.23 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. istioctl/pkg/authz/authz_test.go

    			WantException:  true,
    		},
    		{
    			Args: []string{"-f", "testdata/configdump.yaml"},
    			ExpectedOutput: `ACTION   AuthorizationPolicy         RULES
    ALLOW    _anonymous_match_nothing_   1
    ALLOW    httpbin.default             1
    `,
    		},
    	}
    
    	authzCmd := checkCmd(cli.NewFakeContext(&cli.NewFakeContextOption{}))
    	for i, c := range cases {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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. 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)
  9. cmd/object-handlers_test.go

    		}
    	}
    
    	// Test for Anonymous/unsigned http request.
    	anonReq, err := newTestRequest(http.MethodGet, getGetObjectURL("", bucketName, objectName), 0, nil)
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request for %s/%s: <ERROR> %v",
    			instanceType, bucketName, objectName, 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: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  10. cmd/server_test.go

    	// initiate anonymous HTTP request to fetch the object which does not exist. We need to return AccessDenied.
    	response, err = s.client.Get(getGetObjectURL(s.endPoint, bucketName, objectName+".1"))
    	c.Assert(err, nil)
    	// assert the http response status code.
    	verifyError(c, response, "AccessDenied", "Access Denied.", http.StatusForbidden)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top