This is an archived page. It's not actively maintained.
See Using nsIPasswordManager for examples of nsIPassword in use.