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

Detailed Description
Definition at line 56 of file passwordauth.hh.
Public Member Functions
- virtual ~RemotePasswordAuth ()
- virtual const std::string getVOSType ()
- void authenticate (const std::string &password)
- Using the supplied password, will attempt an authentication protocol with the server in order to take on this Identity.
- Using the supplied password, will attempt an authentication protocol with the server in order to take on this Identity.
- void setPassword (const std::string &password)
Static Public Member Functions
- static MetaObject * new_RemotePasswordAuth (VobjectBase *superobject, const std::string &type)
Constructor & Destructor Documentation
| virtual VOS::RemotePasswordAuth::~RemotePasswordAuth | ( | ) | [virtual] |
destructor
Member Function Documentation
| void VOS::RemotePasswordAuth::authenticate | ( | const std::string & | password | ) |
Using the supplied password, will attempt an authentication protocol with the server in order to take on this Identity.
The cleartext password is never sent during the validation protocol.
- Parameters:
-
password the password (cleartext)
- Exceptions:
-
AccessControlError if the authentication fails
| virtual const std::string VOS::RemotePasswordAuth::getVOSType | ( | ) | [virtual] |
| static MetaObject* VOS::RemotePasswordAuth::new_RemotePasswordAuth | ( | VobjectBase * | superobject, | |
| const std::string & | type | |||
| ) | [static] |
used by metaobject factory, never call directly
| void VOS::RemotePasswordAuth::setPassword | ( | const std::string & | password | ) |
Request that the password be changed to the supplied password.
You must have already taken on this this Identity using authenticate(). Note that this will send a CLEARTEXT password, that is, someone can sniff the password-set message to learn the password (unlike the authentication protocol which never sends the password) so use with care.
- Parameters:
-
password the password (cleartext)
- Exceptions:
-
AccessControlError if setting the password was not allowed
The documentation for this class was generated from the following file:
- /home/tetron/hack/vos/libs/vos/vos/passwordauth.hh