Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LDAPPassword (0.13 sec)

  1. cmd/sts-handlers.go

    		return
    	}
    
    	ldapUsername := r.Form.Get(stsLDAPUsername)
    	ldapPassword := r.Form.Get(stsLDAPPassword)
    
    	if ldapUsername == "" || ldapPassword == "" {
    		writeSTSErrorResponse(ctx, w, ErrSTSMissingParameter, fmt.Errorf("LDAPUsername and LDAPPassword cannot be empty"))
    		return
    	}
    
    	action := r.Form.Get(stsAction)
    	switch action {
    	case ldapIdentity:
    	default:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  2. cmd/sts-handlers_test.go

    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	ldapID := cr.LDAPIdentity{
    		Client:       s.TestSuiteCommon.client,
    		STSEndpoint:  s.endPoint,
    		LDAPUsername: "dillon",
    		LDAPPassword: "dillon",
    	}
    
    	_, err = ldapID.Retrieve()
    	if err == nil {
    		c.Fatalf("Expected to fail to create STS cred with no associated policy!")
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
Back to top