Jacek Caban jacek@codeweavers.com wrote:
My understanding is that we should ask for IAuthenticate interface on BSC and let it handle the authentication. GUI asking for credentials is likely something that urlmon needs to do in response to some return values from Authenticate, but I don't know that without testing it myself. Then there is a question if MSHTML should implement IAuthenticate, but it may not matter in your case (depending on the answer to above).
If you didn't already, I would suggest to write a test and experiment. I know that tests involving GUI may not be something for the tree (well, unless in interactive mode), but maybe with testing IAuthenticate it would be possible to test the rest of the stack.
I'm testing with wine's iexplore and pointing it to an internal site with Basic authentification. httpbin.org provides similar functionality for testing purposes: $> wine iexplore http://httpbin.org/basic-auth/foo/bar user: foo, password: bar. Does this qualify as a test, or you mean something more specific? If something more specific, how that should look like?