[Red5] Acegi Security Example

mattmadhavan mattmadhavan at yahoo.com
Tue Apr 29 15:40:46 PDT 2008


Hello vicnov,
No I beg to differ. I am sure there can be a solution like GraniteDS which
is very simple and elegant. Sice Red5 is also supposedly implemented using
Spring it should be straight forward. Its that I am scrtching my head with
my understanding of red5. The documentation is very poor.

During Thanksgiving, I reached out to some Red5 experts/consultants and the
wanted charge muliplt hundreds of dollars per hr for consulting. (Sigh!).

Anyway from the feature list, it looks like a great product, I just wish it
is more open and transparent like other open source products like BlazeDS
and GraniteDs and the numerous Apache products.

Let us see how we can go forward.

Thanks
Matt



vicnov wrote:
> 
> Matt,
> 
> I think there is no universal solution for all situations.
> In fact, we only used Acegi for remote method invocations (when you have 
> some beans/services containing some methods to be invoked from Flex
> client).
> If you use remote method invocations, our samples may be suitable for 
> you. Otherwise you should "invent" something specific for your needs.
> 
> A very very simple solution to authenticate users would be not to use 
> Acegi at all. Just add "login(user, password)" method to your 
> application handler. If user/password are correct, put some flag into 
> IConnection object (Red5.getConnectionLocal().setAttribute()). You can 
> invoke the login() method from your Flex app (and design any login form 
> as you want). At any time later you can call 
> Red5.getConnectionLocal().getAttribute() and check whether the user is 
> logged in.
> 
> My opinion, Acegi is suitable for more sophisticated situations 
> (especially authorization and ACL - access control lists).
> 
> Anyway, when wiki will be up again, you can look at examples there.
> 
> mattmadhavan wrote:
>> 
>> Hi,
>> I am looking for something basic like the following:
>> * Flex login dialog.
>> * Automatic redirect of the application to login dialog if the user is
>> not
>> logged in.
>> * Authenitication/Authorization (At this time I am not looking to do
>> after
>> invocation filtering etc).
>> 
>> Thanks and please keep me posted.
>> 
>> Thanks
>> Matt
>> 
>> 
>> mattmadhavan wrote:
>>> Hello,
>>> Can some one point me to a example of a red5 app secured - for instance
>>> something like echo service. A complete example with a login
>>> window(flex)
>>> will be great.
>>>
>>> Thanks
>>> Matt
>>>
>> 
> 
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 
> 

-- 
View this message in context: http://www.nabble.com/Acegi-Security-Example-tp16953689p16972035.html
Sent from the Red5 - English mailing list archive at Nabble.com.




More information about the Red5 mailing list