Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for isExpired (0.16 sec)

  1. cmd/iam.go

    	// DN to ldap username mapping for each LDAP user
    	parentUserToLDAPUsernameMap := make(map[string]string)
    	for _, cred := range allCreds {
    		// Expired credentials don't need parent user updates.
    		if cred.IsExpired() {
    			continue
    		}
    
    		if !sys.LDAPConfig.IsLDAPUserDN(cred.ParentUser) {
    			continue
    		}
    
    		// Check if this is the first time we are
    		// encountering this LDAP user.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. cmd/iam-store.go

    // credential.
    func (store *IAMStoreSys) SetTempUser(ctx context.Context, accessKey string, cred auth.Credentials, policyName string) (time.Time, error) {
    	if accessKey == "" || !cred.IsTemp() || cred.IsExpired() || cred.ParentUser == "" {
    		return time.Time{}, errInvalidArgument
    	}
    
    	ttl := int64(cred.Expiration.Sub(UTCNow()).Seconds())
    
    	cache := store.lock()
    	defer store.unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. cmd/site-replication.go

    			}); err != nil {
    				replLogIf(ctx, fmt.Errorf("Unable to heal service account %s from peer site %s -> %s : %w", user, latestPeerName, peerName, err))
    			}
    			continue
    		}
    		if creds.IsTemp() && !creds.IsExpired() {
    			var parentPolicy string
    			u, err := globalIAMSys.GetUserInfo(ctx, creds.ParentUser)
    			if err != nil {
    				// Parent may be "virtual" (for ldap, oidc, client tls auth,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
Back to top