summaryrefslogtreecommitdiffstats
path: root/einterfaces/ldap.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-04-06 08:19:56 -0400
committerChristopher Speller <crspeller@gmail.com>2016-04-06 08:19:56 -0400
commit1954c449931344baca04b126c86b00f95677a570 (patch)
treeec6922905b9de83632752faa2e6fec6f6f111c74 /einterfaces/ldap.go
parent683e79eeab52e02dedea15d3416c504bc52cb4c5 (diff)
downloadchat-1954c449931344baca04b126c86b00f95677a570.tar.gz
chat-1954c449931344baca04b126c86b00f95677a570.tar.bz2
chat-1954c449931344baca04b126c86b00f95677a570.zip
Adding LDAP user filtering capability
Diffstat (limited to 'einterfaces/ldap.go')
-rw-r--r--einterfaces/ldap.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/einterfaces/ldap.go b/einterfaces/ldap.go
index 2977ab812..3917b42f8 100644
--- a/einterfaces/ldap.go
+++ b/einterfaces/ldap.go
@@ -12,6 +12,7 @@ type LdapInterface interface {
GetUser(id string) (*model.User, *model.AppError)
CheckPassword(id string, password string) *model.AppError
SwitchToEmail(userId, ldapId, ldapPassword string) *model.AppError
+ ValidateFilter(filter string) *model.AppError
}
var theLdapInterface LdapInterface