Index - All Packages - All Categories - All Classes

Class MatchLock

The correct password will open the lock. The password is actually stored in the club`s MatchLockSmith in scrambled form, using a Scrambler identified by scramblerName(). The scrambled cleartext supplied as a password is compared to the scrambledPassword in the MatchLockSmith. If they match, the lock is opened.

The actual process is a bit more complicated than this. The user supplies a password in clear, which is encrypted with the current system public key and then sent to the server. There, it is first decrypted with the private key known only to the server. It is then scrambled and compared with the scrambled password stored in the MatchLockSmith of the club. This procedure both avoids sending passwords in clear over the network, and also allows the MatchLockSmith to be made readable without compromising security.

Package: Udanax-Gold
All Superclasses: Object Heaper Lock
Protocols: Object
Categories: Xanadu-Be-Locks

Class Methods

infostProtocol


make: clubID with: lockSmith


problemsPasswordDoesNotMatch



Instance Methods

create: loginID with: lockSmith



Overrides: Lock

encryptedPassword: encrypted

Send the encrypted password to the server to be checked.
NOTE: (for protocol review) The password must have been encrypted using a (yet-to-be-defined) front end library function, since this sort of front end computation can't be done with Promises.


Index - All Packages - All Categories - All Classes