MIRA
|
Contains the authentication settings. More...
#include <fw/RemoteModule.h>
Public Member Functions | |
template<typename Reflector > | |
void | reflect (Reflector &r) |
AuthMode | getMode () const |
void | clearAuth () |
Clears authentication settings. More... | |
const std::string & | getPassword () const |
Returns the authentication password. More... | |
void | setPassword (const boost::optional< std::string > &passwd) |
Sets a password. More... | |
const RSAKey & | getKey () const |
Returns the authentication key. More... | |
void | setKey (const boost::optional< std::string > &str) |
Sets a key. More... | |
void | setKeyFile (const boost::optional< std::string > &file) |
Sets a key file. More... | |
Public Attributes | |
std::string | group |
Contains the authentication settings.
Each framework may belong to a certain workgroup. The framework will be able to connect to other frameworks within the same group only. Moreover, there are three modes for authentication:
|
inline |
|
inline |
void clearAuth | ( | ) |
Clears authentication settings.
const std::string& getPassword | ( | ) | const |
Returns the authentication password.
XInvalidParameter | if no password is set |
void setPassword | ( | const boost::optional< std::string > & | passwd | ) |
Sets a password.
const RSAKey& getKey | ( | ) | const |
Returns the authentication key.
XInvalidParameter | if no key is set |
void setKey | ( | const boost::optional< std::string > & | str | ) |
Sets a key.
void setKeyFile | ( | const boost::optional< std::string > & | file | ) |
Sets a key file.
std::string group |