PM-1060 "Fusionar el plugin LDAP advanced al core del enterprise" SOLVED

Issue:
    Fusionar el plugin LDAP advanced al core del enterprise
    - No es posible crear un nuevo AuthenticationSource con ----> Provider: ldapAdvanced
Cause:
    - Implementacion incompleta en este modulo (AuthenticationSource)
Solution:
    - Se ha completado el ldapAdvanced en este modulo (AuthenticationSource), se agrego el hash correcto
This commit is contained in:
Victor Saisa Lopez
2015-07-07 13:15:24 -04:00
parent a330a89351
commit 7defee7dde
3 changed files with 11 additions and 10 deletions

View File

@@ -158,22 +158,20 @@ try {
if (($sObject != '.') && ($sObject != '..') && ($sObject != '.svn') && ($sObject != 'ldap')) {
if (is_file( PATH_RBAC . 'plugins' . PATH_SEP . $sObject )) {
$sType = trim(str_replace(array("class.", ".php"), "", $sObject));
$flagAdd = false;
/*----------------------------------********---------------------------------*/
if (PMLicensedFeatures
::getSingleton()
->verifyfeature('zLhSk5TeEQrNFI2RXFEVktyUGpnczV1WEJNWVp6cjYxbTU3R29mVXVZNWhZQT0=')) {
$flagAdd = true;
}
/*----------------------------------********---------------------------------*/
if ($flagAdd) {
if ($sType != "ldapAdvanced") {
$arr[] = array("sType" => $sType, "sLabel" => $sType);
}
}
}
}
/*----------------------------------********---------------------------------*/
if (PMLicensedFeatures::getSingleton()->verifyfeature("sywN09PSzh1MVdOajZBdnhMbFhCSnpNT1lLTEFwVklmOTE=")) {
$arr[] = array("sType" => "ldapAdvanced", "sLabel" => "ldapAdvanced");
}
/*----------------------------------********---------------------------------*/
echo '{sources: ' . G::json_encode( $arr ) . '}';
break;
case 'loadauthSourceData':

View File

@@ -1,4 +1,5 @@
<?php
G::LoadClass("ldapAdvanced");
$function = $_REQUEST['functionAccion'];