ZF-11529: AMF server should register ACLs from auth adapter, if present
Description
Currently, Zend_Amf_Adobe_Auth will load ACLs from a given file. In order to use those ACLs with the server, you must do the following:
$auth = new Zend_Amf_Adobe_Auth($xmlAclFile);
$server->setAuth($auth)
->setAcl($auth->getAcl());
Ideally, calling setAuth() with an object that implements a getAcl() method should auto-invoke setAcl() with the return value of getAcl().
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2011-07-06T13:52:26.000+0000
Patch applied to trunk and 1.11 release branch.