I have a webservice protected with basic authtentication.
From my understanding I thought it would be possible to prompt the
user for a user name and password using a flex form and then do a
setCredentials on the WebService object to provide the server with
the needed info, thus avoiding the broswers dialog box.
However this does not work and I still get the browser dialog
box. Even worse if I log out of the flex application and try and
log in as a new user it seems the old credentials are cached by the
browser so the new user get security errors as the flex customer
queried, sent as a parameter in the webserveice call, and
getRemoteUser do not match up. This is how the app has been coded.