|
ARC SDK
|
Configuration for client interface. More...
#include <arc/ArcConfig.h>
Public Member Functions | |
| BaseConfig () | |
| Construct new BaseConfig. Plugin paths are determined automatically. More... | |
| void | AddPluginsPath (const std::string &path) |
| Adds non-standard location of plugins. More... | |
| void | AddCredential (const std::string &cred) |
| Add credential string. More... | |
| void | AddPrivateKey (const std::string &path) |
| Add private key. More... | |
| void | AddCertificate (const std::string &path) |
| Add certificate. More... | |
| void | AddProxy (const std::string &path) |
| Add credentials proxy. More... | |
| void | AddCAFile (const std::string &path) |
| Add CA file. More... | |
| void | AddCADir (const std::string &path) |
| Add CA directory. More... | |
| void | AddOToken (const std::string &token) |
| Add authentication token. More... | |
| void | AddOverlay (XMLNode cfg) |
| Add configuration overlay. More... | |
| void | GetOverlay (std::string fname) |
| Read overlay from file. More... | |
| virtual XMLNode | MakeConfig (XMLNode cfg) const |
| Adds plugin configuration into common configuration tree supplied in 'cfg' argument. More... | |
Data Fields | |
| std::string | credential |
| Credential stored as string. More... | |
| std::string | key |
| Path to private key. More... | |
| std::string | cert |
| Path to certificate. More... | |
| std::string | proxy |
| Path to proxy certificate. More... | |
| std::string | cafile |
| Path to CA certificate. More... | |
| std::string | cadir |
| Path to directory of CA certificates. More... | |
| std::string | otoken |
| Authentication token. More... | |
| XMLNode | overlay |
| Configuration overlay. More... | |
Protected Attributes | |
| std::list< std::string > | plugin_paths |
| List of file system paths to ARC plugin files. More... | |
Configuration for client interface.
It contains information which can't be expressed in class constructor arguments. Most probably common things like software installation location, identity of user, etc.
| Arc::BaseConfig::BaseConfig | ( | ) |
Construct new BaseConfig. Plugin paths are determined automatically.
| void Arc::BaseConfig::AddCADir | ( | const std::string & | path | ) |
Add CA directory.
| void Arc::BaseConfig::AddCAFile | ( | const std::string & | path | ) |
Add CA file.
| void Arc::BaseConfig::AddCertificate | ( | const std::string & | path | ) |
Add certificate.
| void Arc::BaseConfig::AddCredential | ( | const std::string & | cred | ) |
Add credential string.
| void Arc::BaseConfig::AddOToken | ( | const std::string & | token | ) |
Add authentication token.
| void Arc::BaseConfig::AddOverlay | ( | XMLNode | cfg | ) |
Add configuration overlay.
| void Arc::BaseConfig::AddPluginsPath | ( | const std::string & | path | ) |
Adds non-standard location of plugins.
| void Arc::BaseConfig::AddPrivateKey | ( | const std::string & | path | ) |
Add private key.
| void Arc::BaseConfig::AddProxy | ( | const std::string & | path | ) |
Add credentials proxy.
| void Arc::BaseConfig::GetOverlay | ( | std::string | fname | ) |
Read overlay from file.
Adds plugin configuration into common configuration tree supplied in 'cfg' argument.
| std::string Arc::BaseConfig::cadir |
Path to directory of CA certificates.
| std::string Arc::BaseConfig::cafile |
Path to CA certificate.
| std::string Arc::BaseConfig::cert |
Path to certificate.
| std::string Arc::BaseConfig::credential |
Credential stored as string.
| std::string Arc::BaseConfig::key |
Path to private key.
| std::string Arc::BaseConfig::otoken |
Authentication token.
| XMLNode Arc::BaseConfig::overlay |
Configuration overlay.
|
protected |
List of file system paths to ARC plugin files.
| std::string Arc::BaseConfig::proxy |
Path to proxy certificate.
1.8.14