This commit is contained in:
Roly Rudy Gutierrez Pinto
2018-09-27 13:16:40 -04:00
parent e16ca9e240
commit ef53fd9c7f
4 changed files with 117 additions and 2 deletions

View File

@@ -885,6 +885,10 @@ class RBAC
foreach ($this->aRbacPlugins as $className) {
if (strtolower($className) === strtolower($authType)) {
$plugin = new $className();
$reflectionClass = new ReflectionClass($plugin);
if ($reflectionClass->hasConstant('AUTH_TYPE')) {
return $plugin->VerifyLogin($userFields['USR_USERNAME'], $strPass);
}
$plugin->sAuthSource = $userFields['UID_AUTH_SOURCE'];
$plugin->sSystem = $this->sSystem;