1 Reply Latest reply on May 16, 2011 5:23 AM by JulienBu

    HTTPService and auth digest

    JulienBu

      Hi,

      I meet an issue with HTTPService and authentication with digest, in an AIR application, the automatic login management works fine, but I don't find how to manually manage login and password. By example I want to store these pieces of information in a config file to automatically relogin on the next opening of Air application. For my application, it will important too to permit to the user to interrupt courant session (logout), and login juste after, by example with an other username.

       

      I tried to use without success the method setRemoteCredentials :

       

      myHTTPService.setRemoteCredentials("testLogin","testPassword");

       

      I found on internet a solution for basic authentication that consist to add the header "authentication" with the password encoded in base64, but nothing about digest authentication. HTTPService objet does not trigs any event on authentication request, is that normal ?

       

      Thanks !

       

      Julien