Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Mogin (0.26 sec)

  1. cmd/common-main.go

    		os.Setenv("CONSOLE_LDAP_ENABLED", config.EnableOn)
    	}
    	// Handle animation in welcome page
    	if value := env.Get(config.EnvBrowserLoginAnimation, "on"); value != "" {
    		os.Setenv("CONSOLE_ANIMATED_LOGIN", value)
    	}
    
    	// Pass on the session duration environment variable, else we will default to 12 hours
    	if valueSts := env.Get(config.EnvMinioStsDuration, ""); valueSts != "" {
    		os.Setenv("CONSOLE_STS_DURATION", valueSts)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  2. cmd/utils.go

    	// fmt.Printf("login form url: %s\n", lastReq.URL.String())
    	formData := url.Values{}
    	formData.Set("login", username)
    	formData.Set("password", password)
    	req, err = http.NewRequestWithContext(ctx, http.MethodPost, lastReq.URL.String(), strings.NewReader(formData.Encode()))
    	if err != nil {
    		return "", fmt.Errorf("new request err (/login): %v", err)
    	}
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/ldap.go

    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/auth"
    	xldap "github.com/minio/pkg/v2/ldap"
    )
    
    // LookupUserDN searches for the full DN and groups of a given short/login
    // username.
    func (l *Config) LookupUserDN(username string) (string, []string, error) {
    	conn, err := l.LDAP.Connect()
    	if err != nil {
    		return "", nil, err
    	}
    	defer conn.Close()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. cmd/generic-handlers.go

    		h.ServeHTTP(w, r)
    	})
    }
    
    // Reserved bucket.
    const (
    	minioReservedBucket     = "minio"
    	minioReservedBucketPath = SlashSeparator + minioReservedBucket
    
    	loginPathPrefix = SlashSeparator + "login"
    )
    
    func guessIsBrowserReq(r *http.Request) bool {
    	aType := getRequestAuthType(r)
    	return strings.Contains(r.Header.Get("User-Agent"), "Mozilla") &&
    		globalBrowserEnabled && aType == authTypeAnonymous
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
Back to top