Home | Trees | Indices | Help |
|
---|
|
Base class for password managers.
Password manager is an object responsible for providing or verification of authentication credentials.
All the methods of PasswordManager class may be overriden in derived classes for specific authentication and authorization policy.
|
|||
__metaclass__ Metaclass for defining Abstract Base Classes (ABCs). |
|
|||
unicode ,`unicode` tuple.
|
|
||
bool
|
|
||
list of unicode
|
|
||
unicode
|
|
||
bool
|
|
||
unicode
|
|
||
unicode
|
|
||
unicode
|
|
||
bytes
|
|
||
Inherited from |
|
|||
Inherited from |
|
Get the password for user authentication. [both client or server] By default returns (None, None) providing no password. Should be overriden in derived classes unless only check_password functionality is available.
|
Check the password validity. [server only] Used by plain-text authentication mechanisms. Default implementation: retrieve a "plain" password for the May be overrided e.g. to check the password against some external authentication mechanism (PAM, LDAP, etc.).
|
Get available realms list. [server only]
|
Choose an authentication realm from the list provided by the server. [client only] By default return the first realm from the list or
|
Check if the authenticated entity is allowed to use given authorization id. [server only] By default return
|
Return the service type for DIGEST-MD5 'digest-uri' field. Should be overriden in derived classes.
|
Return the host name for DIGEST-MD5 'digest-uri' field. Should be overriden in derived classes.
|
Return the service name for DIGEST-MD5 'digest-uri' field. Should be overriden in derived classes.
|
Generate a random string for digest authentication challenges. The string should be cryptographicaly secure random pattern.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jul 10 09:22:50 2011 | http://epydoc.sourceforge.net |