FWIW, you don't have to prompt the user with custom auth. You can simply
catch the credentials request then submit the username and password in
code. That being said, if the username/pwd is fixed, run-as makes sense.
Given Flex's response, it's going with the default behavior of
passthrough.  Have you reloaded your web app ( or restarted your servlet
container ) since changing flex-config.xml?


Carson


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

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Raymond Camden
Sent: Thursday, October 06, 2005 1:35 PM
To: [email protected]
Subject: Re: [flexcoders] calling a secured web service

In this case, my app is suing a secured service where the u/p will never
change. Therefore, it doesn't make sense to prompt on the client side.
It should be hard coded. Thanks for trying though.

Can anyone from Macromedia Flex team comment? :)

On 10/6/05, Carson Hager <[EMAIL PROTECTED]> wrote:
> I've never used run-as due to the fact that I think it has very 
> limited usage given that all users connect to the web service with the

> same credentials.  Have you tried custom auth?  With that you can 
> specify a client specific username and password for the web service. 
> Do you have access to the password from the app?
> ======================================================================
> =
Raymond Camden, Director of Development for Mindseye, Inc
(www.mindseye.com)

Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : ray.camdenfamily.com
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda


------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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



 






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to