Use self:: instead of AuthService:: in AuthService

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Replace eval with constant in getConfInst

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Move regexpToLike to AJXP_Utils

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce groupMatchToLike in AJXP_Utils

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Move groupPath from ajxp_users to ajxp_user_rights

With this commit conf.sql doesn't depend anymore on auth.sql
(auth now depends on conf for group_path filtering)
In ajxp_user_rights it's stored like:
(login, "ajxp.group_path", groupPath)

see plugins/conf.sql/update_group_path.sql for the sql migration

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Add abstract functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in AbstractConfDriver

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Implement functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in sqlConfDriver

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Implement functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in serialConfDriver

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Add empty functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in BootConfLoader.

(~30 empty functions in BootConfLoader)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Add supportsUsersPaginationInConf const

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce getUsersCountFromAuth and getUsersCountFromConf in AuthService
Deprecate authCountUsers

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce userExistsInConf in AuthService

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce userExistsInConfOrAuth in AuthService

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce listUsersFromConf in AuthService

Please reread/test this one carefully.

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Switch from AuthService::listUsers to AuthService::listUsersFromConf
and from authCountUsers to getUsersCountFromConf

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Replace AuthService::userExists with AuthService::userExistsInConf
and AuthService::userExistsInConfOrAuth

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Change CACHE_MASTER_USERS_TO_SLAVE default to false

We shouldn't need this hack anymore

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Deprecate AuthService::userExists and AuthService::listUsers

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>