![]() |
XRootD
|
#include <XrdVomsFun.hh>
Public Types | |
enum | CertFormat { gCertRaw = 0 , gCertPEM = 1 , gCertX509 = 2 } |
Public Member Functions | |
XrdVomsFun (XrdSysError &erp) | |
~XrdVomsFun () | |
void | SetCertFmt (CertFormat n) |
int | VOMSFun (XrdSecEntity &ent) |
int | VOMSInit (const char *cfg) |
Definition at line 43 of file XrdVomsFun.hh.
XrdVomsFun::XrdVomsFun | ( | XrdSysError & | erp | ) |
Definition at line 102 of file XrdVomsFun.cc.
|
inline |
Definition at line 63 of file XrdVomsFun.hh.
|
inline |
Definition at line 55 of file XrdVomsFun.hh.
Referenced by XrdHttpGetSecXtractor().
int XrdVomsFun::VOMSFun | ( | XrdSecEntity & | ent | ) |
Definition at line 191 of file XrdVomsFun.cc.
References XrdVomsMapfile::Apply(), XrdCryptoX509Chain::Begin(), XrdOucString::c_str(), Voms_x509_in_t::cert, XrdSecEntity::creds, XrdSecEntity::credslen, XrdCryptoX509Chain::End(), XrdSecEntity::endorsements, EPNAME, XrdOucHash< T >::Find(), gCertPEM, gCertRaw, XrdSecEntity::grps, if(), XrdCryptoX509::kCA, XrdOucString::length(), XrdCryptoX509Chain::Next(), XrdOucHash< T >::Num(), XrdCryptoX509::Opaque(), PRINT, XrdSecEntity::prox, XrdSecEntity::role, SafeFree, XrdCryptoX509::type, VOMSDBG, VOMSDBGSUBJ, VOMSSPTTAB, and XrdSecEntity::vorg.
Referenced by XrdVomsHttp::GetSecData().
int XrdVomsFun::VOMSInit | ( | const char * | cfg | ) |
Definition at line 401 of file XrdVomsFun.cc.
References XrdOucHash< T >::Add(), XrdOucString::assign(), XrdOucString::atoi(), XrdOucString::c_str(), XrdVomsMapfile::Configure(), DEBUG, EPNAME, FATAL, XrdOucString::find(), gCertPEM, gCertRaw, gCertX509, XrdOucString::isdigit(), XrdOucString::length(), NTAG, XrdOucHash< T >::Num(), PRINT, STR_NPOS, XrdOucString::tokenize(), VOMS_MAP_FAILED, and VOMSSPTTAB.
Referenced by XrdHttpGetSecXtractor().