Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for UserName (0.18 sec)

  1. internal/config/identity/openid/provider/provider.go

    	CodeChallengeMethodsSupported    []string `json:"code_challenge_methods_supported,omitempty"`
    }
    
    // User represents information about user.
    type User struct {
    	Name    string `json:"username"`
    	ID      string `json:"id"`
    	Enabled bool   `json:"enabled"`
    }
    
    // Standard errors.
    var (
    	ErrNotImplemented     = errors.New("function not implemented")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  2. internal/config/notify/legacy.go

    			Value: cfg.QueueDir,
    		},
    		config.KV{
    			Key:   target.ElasticQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.ElasticUsername,
    			Value: cfg.Username,
    		},
    		config.KV{
    			Key:   target.ElasticPassword,
    			Value: cfg.Password,
    		},
    	}
    
    	return nil
    }
    
    // SetNotifyRedis - helper for config migration from older config.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  3. cmd/bucket-policy.go

    	currTime := UTCNow()
    
    	var (
    		username = cred.AccessKey
    		claims   = cred.Claims
    		groups   = cred.Groups
    	)
    
    	if cred.IsTemp() || cred.IsServiceAccount() {
    		// For derived credentials, check the parent user's permissions.
    		username = cred.ParentUser
    	}
    
    	principalType := "Anonymous"
    	if username != "" {
    		principalType = "User"
    		if len(claims) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. internal/event/target/elasticsearch.go

    			return errors.New("format value unrecognized")
    		}
    	}
    	if a.Index == "" {
    		return errors.New("empty index value")
    	}
    
    	if (a.Username == "" && a.Password != "") || (a.Username != "" && a.Password == "") {
    		return errors.New("username and password should be set in pairs")
    	}
    
    	return nil
    }
    
    // ElasticsearchTarget - Elasticsearch target.
    type ElasticsearchTarget struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. internal/config/identity/ldap/ldap.go

    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return "", err
    	}
    
    	// Check if the passed in username is a valid DN.
    	if !l.ParsesAsDN(username) {
    		// We consider it as a login username and attempt to check it exists in
    		// the directory.
    		bindDN, err := l.LDAP.LookupUserDN(conn, username)
    		if err != nil {
    			if strings.Contains(err.Error(), "User DN not found for") {
    				return "", nil
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. internal/config/identity/ldap/config.go

    	EnvLookupBindDN       = "MINIO_IDENTITY_LDAP_LOOKUP_BIND_DN"
    	EnvLookupBindPassword = "MINIO_IDENTITY_LDAP_LOOKUP_BIND_PASSWORD"
    )
    
    var removedKeys = []string{
    	"sts_expiry",
    	"username_format",
    	"username_search_filter",
    	"username_search_base_dn",
    	"group_name_attribute",
    }
    
    // DefaultKVS - default config for LDAP config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: "",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  7. cmd/iam-object-store.go

    		regUsersList := listedConfigItems[usersListKey]
    		for _, item := range regUsersList {
    			userName := path.Dir(item)
    			if err := iamOS.loadUser(ctx, userName, regUser, cache.iamUsersMap); err != nil && err != errNoSuchUser {
    				return fmt.Errorf("unable to load the user `%s`: %w", userName, err)
    			}
    		}
    
    		bootstrapTraceMsg("loading regular IAM groups")
    		groupsList := listedConfigItems[groupsListKey]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. internal/event/target/nats_contrib_test.go

    	opts.Port = 14223
    	opts.Username = "testminio"
    	opts.Password = "miniotest"
    	s := natsserver.RunServer(&opts)
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:  "test",
    		Username: opts.Username,
    		Password: opts.Password,
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. src/archive/tar/reader.go

    	hdr.ModTime = time.Unix(p.parseNumeric(v7.modTime()), 0)
    
    	// Unpack format specific fields.
    	if format > formatV7 {
    		ustar := tr.blk.toUSTAR()
    		hdr.Uname = p.parseString(ustar.userName())
    		hdr.Gname = p.parseString(ustar.groupName())
    		hdr.Devmajor = p.parseNumeric(ustar.devMajor())
    		hdr.Devminor = p.parseNumeric(ustar.devMinor())
    
    		var prefix string
    		switch {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  10. cmd/sts-handlers.go

    	// JWT claim to check the parent user
    	parentClaim = "parent"
    
    	// LDAP claim keys
    	ldapUser  = "ldapUser"     // this is a key name for a DN value
    	ldapUserN = "ldapUsername" // this is a key name for the short/login username
    
    	// Role Claim key
    	roleArnClaim = "roleArn"
    )
    
    // stsAPIHandlers implements and provides http handlers for AWS STS API.
    type stsAPIHandlers struct{}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top