interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

VOS::LocalPasswordAuth Class Reference
[libvos]

#include <vos/vos/passwordauth.hh>

Inheritance diagram for VOS::LocalPasswordAuth:

VOS::MetaObject VOS::Vobject VOS::Dispatchable VUtil::RefCounted List of all members.

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

Static Public Member Functions


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]

Returns:
VOS type "core:passwordauth"

Reimplemented from VOS::MetaObject.

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: