VOS::LocalPasswordAuth Class Reference
[libvos]
#include <vos/vos/passwordauth.hh>
Inheritance diagram for VOS::LocalPasswordAuth:

Detailed Description
This class should be a cotype with an Identity Vobject.It implements a secure hash-based challenge-response password validation protocol, and upon successfully completing the authentication, the remote site takes on this Identity. The cleartext password is never sent during the validation protocol.
Definition at line 21 of file passwordauth.hh.
Public Member Functions
- virtual ~LocalPasswordAuth ()
- virtual const std::string getVOSType ()
- void setPassword (const std::string &password)
- std::string getPassword ()
- void handleAuthRequest (Message *m)
- void handleSetPassword (Message *m)
Static Public Member Functions
- static MetaObject * new_LocalPasswordAuth (VobjectBase *superobject, const std::string &type)
Constructor & Destructor Documentation
| virtual VOS::LocalPasswordAuth::~LocalPasswordAuth | ( | ) | [virtual] |
destructor
Member Function Documentation
| std::string VOS::LocalPasswordAuth::getPassword | ( | ) |
- Returns:
- the password (cleartext)
| virtual const std::string VOS::LocalPasswordAuth::getVOSType | ( | ) | [virtual] |
| void VOS::LocalPasswordAuth::handleAuthRequest | ( | Message * | m | ) |
Handles the challenge-reply protocol to authenticate a remote site to take on this identity.
| void VOS::LocalPasswordAuth::handleSetPassword | ( | Message * | m | ) |
| static MetaObject* VOS::LocalPasswordAuth::new_LocalPasswordAuth | ( | VobjectBase * | superobject, | |
| const std::string & | type | |||
| ) | [static] |
Used by metaobject factory, never call directly.
| void VOS::LocalPasswordAuth::setPassword | ( | const std::string & | password | ) |
Set the password (cleartext).
- Parameters:
-
password
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/passwordauth.hh