diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2014-05-03 10:48:14 +0800 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2014-05-03 10:48:14 +0800 |
commit | 79ea34e70ebe989f1a5f8fbd71cfe3109c6f8a58 (patch) | |
tree | 066027c6a42b971030e0d8b41ff979bfaa1e25ae /modules/auth/authentication.go | |
parent | 8bab21d795a6af7c424e9f8f72d613863cf34a70 (diff) |
ldap support
Diffstat (limited to 'modules/auth/authentication.go')
-rw-r--r-- | modules/auth/authentication.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/auth/authentication.go b/modules/auth/authentication.go new file mode 100644 index 00000000..5c179f0f --- /dev/null +++ b/modules/auth/authentication.go @@ -0,0 +1,13 @@ +package auth + +type AuthenticationForm struct { + Type int `form:"type"` + Name string `form:"name" binding:"MaxSize(50)"` + Domain string `form:"domain"` + Host string `form:"host"` + Port int `form:"port"` + BaseDN string `form:"base_dn"` + Attributes string `form:"attributes"` + Filter string `form:"filter"` + MsAdSA string `form:"ms_ad_sa"` +} |