From fb9bcbcad0b522b131682ebbffb78ff87abd0bdd Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 18 Jun 2018 11:10:41 +0200 Subject: Add support for filtering by LDAP values from file This is a temporary solution until we can do server-side filtering. --- src/userldapdata.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/userldapdata.h (limited to 'src/userldapdata.h') diff --git a/src/userldapdata.h b/src/userldapdata.h new file mode 100644 index 0000000..dd8c066 --- /dev/null +++ b/src/userldapdata.h @@ -0,0 +1,16 @@ +#ifndef USERLDAPDATA_H_ +#define USERLDAPDATA_H_ + +#include + +namespace UserLdapData { + +bool init(QString inputFile = QString()); + +bool isEmpty(); + +bool isAllowed(const QString& attribute, const QString& value); + +} + +#endif /* USERLDAPDATA_H_ */ -- cgit v1.2.3-55-g7522