Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for userinfo (0.16 sec)

  1. cmd/iam-store.go

    func (store *IAMStoreSys) GetUsers() map[string]madmin.UserInfo {
    	cache := store.rlock()
    	defer store.runlock()
    
    	result := map[string]madmin.UserInfo{}
    	for k, u := range cache.iamUsersMap {
    		v := u.Credentials
    
    		if v.IsTemp() || v.IsServiceAccount() {
    			continue
    		}
    		pl, _ := cache.iamUserPolicyMap.Load(k)
    		result[k] = madmin.UserInfo{
    			PolicyName: pl.Policies,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  2. cmd/iam.go

    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	select {
    	case <-sys.configLoaded:
    		return sys.store.GetBucketUsers(bucket)
    	case <-ctx.Done():
    		return nil, ctx.Err()
    	}
    }
    
    // ListUsers - list all users.
    func (sys *IAMSys) ListUsers(ctx context.Context) (map[string]madmin.UserInfo, error) {
    	if !sys.Initialized() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    	stsToken                  = "Token"
    	stsRoleArn                = "RoleArn"
    	stsWebIdentityToken       = "WebIdentityToken"
    	stsWebIdentityAccessToken = "WebIdentityAccessToken" // only valid if UserInfo is enabled.
    	stsDurationSeconds        = "DurationSeconds"
    	stsLDAPUsername           = "LDAPUsername"
    	stsLDAPPassword           = "LDAPPassword"
    
    	// STS API action constants
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	cr := c.mustCreateIAMUser(ctx, userAdmClient)
    
    	userInfo := c.mustGetIAMUserInfo(ctx, userAdmClient, cr.AccessKey)
    	c.Assert(userInfo.Status, madmin.AccountEnabled)
    }
    
    func (s *TestSuiteIAM) TestOpenIDServiceAcc(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
  5. pkg/security/security.go

    	}
    	return nil
    }
    
    func GetConnectionAddress(ctx context.Context) string {
    	peerInfo, ok := peer.FromContext(ctx)
    	peerAddr := "unknown"
    	if ok {
    		peerAddr = peerInfo.Addr.String()
    	}
    	return peerAddr
    }
    
    func (am *authenticationManager) FailedMessages() string {
    	return strings.Join(am.authFailMsgs, "; ")
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  6. pilot/pkg/xds/delta.go

    	if !s.IsServerReady() {
    		return errors.New("server is not ready to serve discovery information")
    	}
    
    	ctx := stream.Context()
    	peerAddr := "0.0.0.0"
    	if peerInfo, ok := peer.FromContext(ctx); ok {
    		peerAddr = peerInfo.Addr.String()
    	}
    
    	if err := s.WaitForRequestLimit(stream.Context()); err != nil {
    		deltaLog.Warnf("ADS: %q exceeded rate limit: %v", peerAddr, err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    potential security issue: as the returned object is passed directly to Pydantic, if the returned object was a subclass of the `response_model` (e.g. you return a `UserInDB` that inherits from `User` but contains extra fields, like `hashed_password`, and `User` is used in the `response_model`), it would still pass the validation (because `UserInDB` is a subclass of `User`) and the object would be returned as-is, including the `hashed_password`. To fix this, the declared `response_model` is cloned, if it...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
Back to top