ARC SDK
Public Member Functions
DataStaging::DTRCredentialInfo Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DTRCredentialInfo() [1/2]

DataStaging::DTRCredentialInfo::DTRCredentialInfo ( )
inline

Default constructor.

◆ DTRCredentialInfo() [2/2]

DataStaging::DTRCredentialInfo::DTRCredentialInfo ( const std::string &  DN,
const Arc::Time expirytime,
const std::list< std::string >  vomsfqans 
)

Constructor with supplied credential info.

Member Function Documentation

◆ extractVOMSGroup()

std::string DataStaging::DTRCredentialInfo::extractVOMSGroup ( ) const

Get the VOMS Group (first in the supplied list of fqans)

◆ extractVOMSRole()

std::string DataStaging::DTRCredentialInfo::extractVOMSRole ( ) const

Get the VOMS Role (first in the supplied list of fqans)

◆ extractVOMSVO()

std::string DataStaging::DTRCredentialInfo::extractVOMSVO ( ) const

Get the VOMS VO.

◆ getDN()

std::string DataStaging::DTRCredentialInfo::getDN ( ) const
inline

Get the DN.

◆ getExpiryTime()

Arc::Time DataStaging::DTRCredentialInfo::getExpiryTime ( ) const
inline

Get the expiry time.


The documentation for this class was generated from the following file: