From: <joa...@we...> - 2007-07-05 11:20:47
|
Hi, I need to create an authentication/authorization system with Flex and PHP using AMFPHP 1.9 beta 2. I have a login form, and from the moment the user logs in, it's access to some remote service is defined by the role(s) of the user. I have made something very similar to this using AMFPHP 1.2 and Flash 8 some months ago, thanks to the method table that allowed us to define roles to the services on a very easy and straightforward way. But now on AMFPHP 1.9b2 the method table is deprecated, so i do not see how to achieve this... Also, i've tried using setCredentials on Flex 2 and AMFPHP 1.9b2, which results on an AMFPHP exception. So: 1- Can you give me advices on how to create an authentication system using Flex 2 and AMFPHP 1.9b2 ? Does .setCredentials works? 2- Can you give me advices on how to create an authorization system using Flex 2 and AMFPHP 1.9b2 ? It's not the first time I make this question, but I definitely need to solve this on the current project and I imagine that there are lots of people with the same problem, so any help would be very much appreciated... Thanks, João Saleiro |