You'll need to invoke a JSP or a web service to return the value to the flex app. For a JSP it's pretty simple...
 
request.getUserPrincipal().getName();
 
or the shortcut...
 
request.getRemoteUser();
 
 
Carson

____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466

 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of spirit_ryder2k
Sent: Tuesday, October 10, 2006 6:26 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex 2] displaying j2ee user name

Hi,

I have set up a simple authentication which posts j_username and
j_password to Jrun and it works fine. But after my login I want to
display the name of the logged in user (e.g. Welcome, administrator).
Does anyone know how to display this?

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to