0 Replies Latest reply on May 6, 2010 11:48 AM by GSCHUELER

    Basic Authentication in WebService




         I am trying to authenticate in web service with basic authentication but I can not.


         The code:


         var w:WebService = new WebService();


         var encoder:Base64Encoder = new Base64Encoder();

         encoder.insertNewLines = false;



         w.httpHeaders = {Authorization:"Basic " + encoder.toString()};




         When I run the browser always asks for username and password and in a sniffer, for example firebug, I do not see the authentication header in HTTP package.


         Can anyone help me?


      Thank you.