Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes
nsPasswordManager::PasswordEntry Class Reference
Inheritance diagram for nsPasswordManager::PasswordEntry:
Inheritance graph
[legend]
Collaboration diagram for nsPasswordManager::PasswordEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PasswordEntry (const nsACString &aKey, SignonDataEntry *aData)
virtual ~PasswordEntry ()

Public Attributes

readonly attribute AString userFieldName
 The name of the field that contained the username.
readonly attribute AString passwordFieldName
 The name of the field that contained the password.
readonly attribute AUTF8String host
 the name of the host corresponding to the login being saved
readonly attribute AString user
 the user name portion of the login
readonly attribute AString password
 the password portion of the login

Protected Attributes

nsCString mHost
nsString mUser
nsString mUserField
nsString mPassword
nsString mPasswordField
nsCString mActionOrigin
PRBool mDecrypted [2]

Detailed Description

Definition at line 111 of file nsPasswordManager.cpp.


Constructor & Destructor Documentation

virtual nsPasswordManager::PasswordEntry::~PasswordEntry ( ) [inline, virtual]

Definition at line 115 of file nsPasswordManager.cpp.

{ }

Member Data Documentation

readonly attribute AUTF8String nsIPassword::host [inherited]

the name of the host corresponding to the login being saved

The form of the host depends on how the nsIPassword object 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 to GetSpec
  • if it was created as a result of another app (e.g., mailnews) calling a prompt routine such at PromptUsernameAndPassword, 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".

Definition at line 68 of file nsIPassword.idl.

Definition at line 128 of file nsPasswordManager.cpp.

Definition at line 129 of file nsPasswordManager.cpp.

Definition at line 123 of file nsPasswordManager.cpp.

Definition at line 126 of file nsPasswordManager.cpp.

Definition at line 127 of file nsPasswordManager.cpp.

Definition at line 124 of file nsPasswordManager.cpp.

Definition at line 125 of file nsPasswordManager.cpp.

readonly attribute AString nsIPassword::password [inherited]

the password portion of the login

Definition at line 78 of file nsIPassword.idl.

readonly attribute AString nsIPasswordInternal::passwordFieldName [inherited]

The name of the field that contained the password.

Definition at line 56 of file nsIPasswordInternal.idl.

readonly attribute AString nsIPassword::user [inherited]

the user name portion of the login

Definition at line 73 of file nsIPassword.idl.

readonly attribute AString nsIPasswordInternal::userFieldName [inherited]

The name of the field that contained the username.

Definition at line 51 of file nsIPasswordInternal.idl.


The documentation for this class was generated from the following file: