News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin Schroeder's Blog:
Authentication Using Zend_Amf
July 07, 2011 @ 09:39:47

Kevin Schroeder has a new post to his blog today showing how you can use the Zend_Amf component in your Flex+PHP application to authenticate users with the same authentication structure the rest of the application uses.

I forget why, but a few days ago I started doing some digging around with authentication in Zend_Amf_Server. I had figured that I would add an adapter to the Zend_Amf_Server::setAuth() method and that would be it. But I was wrong.

Zend_Auth is used to validate the login information that's passed along and the Zend_Acl checks to see if they have access. To make this work for a connection from Flex, you need to make an authentication adapter and add it (as well as a basic ACL) into your Zend_Amf_Server call.

0 comments voice your opinion now!
zendamf zendacl zendauth authentication tutorial flex


blog comments powered by Disqus

Similar Posts

AnyExample.com: PHP password generation

Ulrich Kautz: PHP Validation & Sanitization

Nicolas Grekas (on Github): Improved handling of HTTP requests in PHP

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 5

PHPMaster.com: Creating Web Services with PHP and SOAP, Part 1


Community Events

Don't see your event here?
Let us know!


framework composer php7 release symfony2 introduction example extension library performance voicesoftheelephpant opinion community application interview version series api laravel podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework