Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsExpired (0.05 sec)

  1. cmd/iam.go

    	// External (actual) LDAP DN to internal normalized representation
    	actualDNToParentUserMap := 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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  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()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top