ARC SDK
|
Class for storing credential information. More...
#include <arc/data-staging/DTR.h>
Public Member Functions | |
DTRCredentialInfo () | |
Default constructor. More... | |
DTRCredentialInfo (const std::string &DN, const Arc::Time &expirytime, const std::list< std::string > vomsfqans) | |
Constructor with supplied credential info. More... | |
std::string | getDN () const |
Get the DN. More... | |
Arc::Time | getExpiryTime () const |
Get the expiry time. More... | |
std::string | extractVOMSVO () const |
Get the VOMS VO. More... | |
std::string | extractVOMSGroup () const |
Get the VOMS Group (first in the supplied list of fqans) More... | |
std::string | extractVOMSRole () const |
Get the VOMS Role (first in the supplied list of fqans) More... | |
Class for storing credential information.
To avoid handling credentials directly this class is used to hold information in simple string/time attributes. It should be filled before the DTR is started.
|
inline |
Default constructor.
DataStaging::DTRCredentialInfo::DTRCredentialInfo | ( | const std::string & | DN, |
const Arc::Time & | expirytime, | ||
const std::list< std::string > | vomsfqans | ||
) |
Constructor with supplied credential info.
std::string DataStaging::DTRCredentialInfo::extractVOMSGroup | ( | ) | const |
Get the VOMS Group (first in the supplied list of fqans)
std::string DataStaging::DTRCredentialInfo::extractVOMSRole | ( | ) | const |
Get the VOMS Role (first in the supplied list of fqans)
std::string DataStaging::DTRCredentialInfo::extractVOMSVO | ( | ) | const |
Get the VOMS VO.
|
inline |
Get the DN.
|
inline |
Get the expiry time.