
nsIPassword
This interface provides access to the contents of a password object.
Gets the name of the host corresponding to the login being saved.
The form of the host depends on how the
nsIPasswordobject was created. If it was created as a result of submitting a form to a site, then the host is the url of the site, as obtained from a call toGetSpec. If it was created as a result of another app (e.g., mailnews) calling a prompt routine such asPromptUsernameAndPassword,then the host is whatever arbitrary string the app decided to pass in. Whatever form it is in, it will be used by the password manager to uniquely identify the login realm, so that "newsserver:119" is not the same thing as "newsserver".
| Written by:Ellen Evans | Comments, questions, complaints?
Bug 143387 |