Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for Ucred (0.12 sec)

  1. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

         */
        @Override
        public boolean renewCredentials ( String locationHint, Throwable error ) {
            Credentials cred = getCredentials();
            if ( cred instanceof SmbRenewableCredentials ) {
                SmbRenewableCredentials renewable = (SmbRenewableCredentials) cred;
                CredentialsInternal renewed = renewable.renew();
                if ( renewed != null ) {
                    this.creds = renewed;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Aug 02 08:32:29 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers-config-kv.go

    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction)
    	if objectAPI == nil {
    		return
    	}
    
    	if r.ContentLength > maxEConfigJSONSize || r.ContentLength == -1 {
    		// More than maxConfigSize bytes were available
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigTooLarge), r.URL)
    		return
    	}
    
    	password := cred.SecretKey
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. src/syscall/exec_bsd.go

    		if err1 != 0 {
    			goto childerror
    		}
    	}
    
    	// User and groups
    	if cred = sys.Credential; cred != nil {
    		ngroups = uintptr(len(cred.Groups))
    		groups = uintptr(0)
    		if ngroups > 0 {
    			groups = uintptr(unsafe.Pointer(&cred.Groups[0]))
    		}
    		if !cred.NoSetGroups {
    			_, _, err1 = RawSyscall(SYS_SETGROUPS, ngroups, groups, 0)
    			if err1 != 0 {
    				goto childerror
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/syscall/exec_libc.go

    		}
    	}
    
    	// User and groups
    	if cred = sys.Credential; cred != nil {
    		ngroups = uintptr(len(cred.Groups))
    		groups = uintptr(0)
    		if ngroups > 0 {
    			groups = uintptr(unsafe.Pointer(&cred.Groups[0]))
    		}
    		if !cred.NoSetGroups {
    			err1 = setgroups1(ngroups, groups)
    			if err1 != 0 {
    				goto childerror
    			}
    		}
    		err1 = setgid(uintptr(cred.Gid))
    		if err1 != 0 {
    			goto childerror
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. cmd/iam.go

    			return auth.Credentials{}, time.Time{}, err
    		}
    	}
    	cred, err := auth.CreateNewCredentialsWithMetadata(accessKey, secretKey, m, secretKey)
    	if err != nil {
    		return auth.Credentials{}, time.Time{}, err
    	}
    	cred.ParentUser = parentUser
    	cred.Groups = groups
    	cred.Status = string(auth.AccountOn)
    	cred.Name = opts.name
    	cred.Description = opts.description
    
    	if opts.expiration != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser.go

    	}
    	// Save access key id.
    	cred := credentialHeader{
    		accessKey: accessKey,
    	}
    	credElements = credElements[len(credElements)-4:]
    	var e error
    	cred.scope.date, e = time.Parse(yyyymmdd, credElements[0])
    	if e != nil {
    		return ch, ErrMalformedCredentialDate
    	}
    
    	cred.scope.region = credElements[1]
    	// Verify if region is valid.
    	sRegion := cred.scope.region
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. cmd/tier-handlers.go

    		StatusCode: http.StatusBadRequest,
    	}
    )
    
    func (api adminAPIHandlers) AddTierHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objAPI, cred := validateAdminReq(ctx, w, r, policy.SetTierAction)
    	if objAPI == nil {
    		return
    	}
    
    	password := cred.SecretKey
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. cmd/handler-utils.go

    	return nil
    }
    
    // Returns access credentials in the request Authorization header.
    func getReqAccessCred(r *http.Request, region string) (cred auth.Credentials) {
    	cred, _, _ = getReqAccessKeyV4(r, region, serviceS3)
    	if cred.AccessKey == "" {
    		cred, _, _ = getReqAccessKeyV2(r)
    	}
    	return cred
    }
    
    // Extract request params to be sent with event notification.
    func extractReqParams(r *http.Request) map[string]string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. tests/integration/security/sds_ingress/util/util.go

    	echotest.New(ctx, A).
    		SetupForDestination(func(ctx framework.TestContext, to echo.Target) error {
    			for i := 1; i < 6; i++ {
    				cred := fmt.Sprintf("runtestmultimtlsgateways-%d", i)
    				tests = append(tests, TestConfig{
    					Mode:           "MUTUAL",
    					CredentialName: cred,
    					Host:           fmt.Sprintf("runtestmultimtlsgateways%d.example.com", i),
    					ServiceName:    to.Config().Service,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PutObjectFanOutAction,
    			ConditionValues: getConditionValues(r, "", cred),
    			BucketName:      bucket,
    			ObjectName:      object,
    			IsOwner:         globalActiveCred.AccessKey == cred.AccessKey,
    			Claims:          cred.Claims,
    		}) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top