0 Replies Latest reply on May 11, 2010 1:28 PM by xbrotherx

    Suppress HTTP Authentication dialog for invalid credentials

    xbrotherx Level 1

      If I want a custom login screen with domain, username and password fields for my AIR application, that uses Basic Authentication on the server, I can use



      URLRequestDefaults.setLoginCredentialsForHost(myDomain, myUsername, myPassword);



      and it works fine. But if I enter invalid credentials, the "built-in" authentication dialog pops up. How can I suppress that? I read somewhere that I could use URLRequestDefaults.authenticate = false; but that just seems to kill the authentication process altogether.


      Any ideas?