« Return to Thread: LoginManager.RestorePrincipal

Re: LoginManager.RestorePrincipal

by Andres Serral-2 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Shannon, thanks for you repply
 
Yes. After login to the app, the user cans change his profile by clicking a button.
 
But, how can I change credentials within Fluorine?
I tried setting HttpContext.Current.User...
But, after doing that, the security configuration (set on services-config.xml file) doesn´t apply, just mantains the first principal object (set by the first loggin)
 
I Checked FluorineContext.Current.User property is readonly
 
Thanks in advance
 
Andres Serral
Coordinador de Desarrollo 

andres.serral@...(54) 11.5239.2500 int. 514
Cabildo 2373 4º piso - Buenos Aires
www.rs.com.ar


Por Favor considere el medio ambiente y no imprima este mail a no ser que sea absolutamente necesario. RS apoya el cuidado del medio ambiente.
 


From: Shannon Deminick [mailto:SD@...]
Sent: Tuesday, May 19, 2009 8:13 PM
To: andres.serral@...; Fluorine Mailing List
Subject: RE: [Fluorine] LoginManager.RestorePrincipal

Are you changing the profile within flash (i.e. by a user clicking a button?), if so ,you should just be able to setcredentials on a method call with the new credentials…

 

---

SHANNON DEMINICK
TECHNICAL DIRECTOR - THE FARM

---

SUITE 101, 4-14 BUCKINGHAM ST.
SURRY HILLS, NSW, 2010
T- +61 2 9690 1415
F- +61 2 9690 1410
W- WWW.THEFARMDIGITAL.COM.AU

---

From: fluorine-bounces@... [mailto:fluorine-bounces@...] On Behalf Of Andres Serral
Sent: Wednesday, 20 May 2009 5:46 AM
To: 'Fluorine Mailing List'
Subject: [Fluorine] LoginManager.RestorePrincipal

 

My Flex app has users with multiple profiles.

So the login process has 2 steps.

    1- User Authentication

    2- Profile Selection

 

Off course, I must set the authentication user, Principal and roles after step 2.

 

By the way, the user could select one profile and then switch to another profile without logout.

 

Some idea to do this?

 

I thought calling LoginManager.RestorePrincipal method... but the LoginManager class is private

 

Thanks

 

 

 

Andres Serral
Coordinador de Desarrollo 

andres.serral@...(54) 11.5239.2500 int. 514
Cabildo 2373 4º piso - Buenos Aires
www.rs.com.ar


Por Favor considere el medio ambiente y no imprima este mail a no ser que sea absolutamente necesario. RS apoya el cuidado del medio ambiente.

 






_______________________________________________
fluorine mailing list
fluorine@...
http://fluorine.thesilentgroup.com/mailman/listinfo/fluorine_fluorine.thesilentgroup.com

logofirmamail.gif (1K) Download Attachment
arbolfirmamail.png (884 bytes) Download Attachment

 « Return to Thread: LoginManager.RestorePrincipal