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:
@@ -33,6 +33,7 @@ if (!class_exists("RBAC")) {
|
||||
require_once PATH_TRUNK . "gulliver/system/class.rbac.php";
|
||||
}
|
||||
|
||||
/*
|
||||
class ldapAdvancedClass
|
||||
{
|
||||
public function __construct()
|
||||
@@ -62,6 +63,7 @@ if (!class_exists("ldapAdvancedPlugin")) {
|
||||
if (class_exists("ldapAdvanced")) {
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
class ldapAdvanced
|
||||
{
|
||||
|
||||
@@ -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':
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
G::LoadClass("ldapAdvanced");
|
||||
|
||||
$function = $_REQUEST['functionAccion'];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user