I embedded mozilla 1.7.3.
When page what I just entered need authorization, engine calls:

nsHttpChannel::ProcessAuthentication what calls:
nsHttpChannel::GetCredentials what calls:
nsHttpChannel::GetCredentialsForChallenge what using nsHttpChannel::PromptForIdentity is displaying user dialog, where user can type his username and password.


How to override displaying that dialog, and use my own function providing loginname and password?

There is some functions with I can modify to do, what I want
i.e.:
nsPrompt::PromptUsernameAndPassword is returning PRUnichar **username and PRUnichar **password


nsSingleSignOnPrompt::PromptUsernameAndPassword is returning PRUnichar **user, PRUnichar **pwd.

But how to avoid modifing mozilla code, and do all only from my code?
How to switch mozilla to not handle login prompts internally, but to execute function returning loginname and password from my code?
_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to