diff -r 5a6b6e770365 -r 68c69c656a2c web/lib/Zend/Amf/Adobe/Auth.php --- a/web/lib/Zend/Amf/Adobe/Auth.php Thu May 07 15:10:09 2015 +0200 +++ b/web/lib/Zend/Amf/Adobe/Auth.php Thu May 07 15:16:02 2015 +0200 @@ -14,9 +14,9 @@ * * @category Zend * @package Zend_Amf - * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License - * @version $Id: Auth.php 24593 2012-01-05 20:35:02Z matthew $ + * @version $Id$ */ /** @see Zend_Amf_Auth_Abstract */ @@ -28,12 +28,15 @@ /** @see Zend_Auth_Result */ require_once 'Zend/Auth/Result.php'; +/** @see Zend_Xml_Security */ +require_once 'Zend/Xml/Security.php'; + /** * This class implements authentication against XML file with roles for Flex Builder. * * @package Zend_Amf * @subpackage Adobe - * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) + * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class Zend_Amf_Adobe_Auth extends Zend_Amf_Auth_Abstract @@ -61,7 +64,7 @@ public function __construct($rolefile) { $this->_acl = new Zend_Acl(); - $xml = simplexml_load_file($rolefile); + $xml = Zend_Xml_Security::scanFile($rolefile); /* Roles file format: