15881: Add LDAP authentication option.
[arvados.git] / sdk / go / arvados / config.go
index 38de6b8ea40983081a14db18b270e3db31a6a895..817f5b7a69971e0049f88edc59687d075cc7af37 100644 (file)
@@ -135,6 +135,21 @@ type Cluster struct {
                Repositories string
        }
        Login struct {
+               LDAP struct {
+                       Enable             bool
+                       URL                URL
+                       StartTLS           bool
+                       InsecureTLS        bool
+                       StripDomain        string
+                       AppendDomain       string
+                       SearchAttribute    string
+                       SearchBindUser     string
+                       SearchBindPassword string
+                       SearchBase         string
+                       SearchFilters      string
+                       EmailAttribute     string
+                       UsernameAttribute  string
+               }
                GoogleClientID                string
                GoogleClientSecret            string
                GoogleAlternateEmailAddresses bool