[flexcoders] Re: Flex 3 Beta is now available!

2008-01-13 Thread Jeremiah Small
I'm looking for this answer too. Can anyone provide a link to a
comprehensive discussion of the best practice for basic
authentication? We are now passing the credentials through the url
string which works, but this seems lame.

--- In flexcoders@yahoogroups.com, bobpardoe1959 [EMAIL PROTECTED] wrote:

 We do exactly this and now Update 3 has been released it appears that
 the ability to change the Authorization header has been removed. 
 
 What is the 'official' work around for this ?
 
 Any help appreciated.
 
 Thanks
 
 BOb




[flexcoders] Re: Flex 3 Beta is now available!

2007-12-24 Thread bobpardoe1959
We do exactly this and now Update 3 has been released it appears that
the ability to change the Authorization header has been removed. 

What is the 'official' work around for this ?

Any help appreciated.

Thanks

BOb

--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:

 Gunnar, although I've not tried this yet, I think that you may be
able to pre-authenticate with BASIC auth if you set the
Authorization header on HTTPService. I recently discovered that the
Authorization header is not one of the request headers disallowed by
flash.net.URLRequest (which is ultimately used by by HTTPService to
prepare a request to send over HTTP) so this approach should be
technically possible. Note that you will need to Base64 encode the
credentials from the String username:password into an encoded form.
  
 myHTTPService.headers.Authorization = Basic  +
base64EncodedCredentials;
 
 Note that there is an undocumented mx.utils.Base64Encoder class in
Flex that we plan to formally document in Flex 3.0. 
 
 Pete
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Gunnar André Reinseth
 Sent: Tuesday, June 12, 2007 6:26 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex 3 Beta is now available!
 
 
 
 Hi,
 
 This new release Flex is really great! The new AdvancedDataGrid has
probably saved us months of work :)
 
 But there is one thing I'm wondering about: Has there been any
changes to HTTPService? Does it support BASIC authentication? If not -
is this an issue that the Flex team will address in the future? 
 
 Best,
 Gunnar A. Reinseth
 
 
 On 6/11/07, Tom Chiverton [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote: 
 
   On Monday 11 Jun 2007, Matt Chotin wrote:
Charts and ADG only ship in FB for now, we're not building a
separate 
charting installer.
   
   I'm not bothered about an installer, I just didn't want to have to
download
   all of FlexBuilder to get at one SWC inside it.
   
   On first tests, it seems Flex3 runs existing code fine (apart from
the known 
   Caringorm issue) which is good news, and my pet charting bug has
even been
   addressed.
   
   --
   Tom Chiverton
   Helping to autoschediastically seize best-of-breed interfaces
   on: http://thefalken.livejournal.com
http://thefalken.livejournal.com 
   
   
   
   This email is sent for and on behalf of Halliwells LLP.
   
   Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society. 
   
   CONFIDENTIALITY
   
   This email is intended only for the use of the addressee named
above and may be confidential or legally privileged.  If you are not
the addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008. 
   
   For more information about Halliwells LLP visit www.halliwells.com
http://www.halliwells.com .
   
   
   
   --
   Flexcoders Mailing List
   FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
   Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links