This is a Mixin class to provide standard OTP database access
methods.
If you wanted to use a different database to store your user OTP
information in (such as an LDAP store) you would subclass from this class
and instruct your OTPProfile to use your alternate database access
class.
Method Summary |
|
__init__(self,
dbasefile)
|
|
retrieveDBEntry (self,
username)
Retrieve a user entry from the database that corresponds to the
supplied username. |
|
storeDBEntry (self,
dbEntry)
storeDBEntry() stores a single OTPUserEntry in the database file set
at initialisation. |