#include <XrdOfsTPC.hh>
|
| static int | Fatal (Facts &Args, const char *eMsg, int eCode, int nomsg=0) |
| |
| static int | genOrg (const XrdSecEntity *client, char *Buff, int Blen) |
| |
| static int | getTTL (XrdOucEnv *Env) |
| |
| static int | Screen (Facts &Args, XrdOucTList *tP, int wasEnc=0) |
| |
| static char * | Verify (const char *Who, const char *Name, char *Buf, int Blen) |
| |
| static const char * | Yield (const char *Name, char *Buf, int Blen) |
| |
| XrdOfsTPC::XrdOfsTPC |
( |
const char * |
Url, |
|
|
const char * |
Org, |
|
|
const char * |
Lfn, |
|
|
const char * |
Pfn, |
|
|
const char * |
Cks = 0 |
|
) |
| |
|
inline |
| virtual XrdOfsTPC::~XrdOfsTPC |
( |
| ) |
|
|
inlinevirtual |
| void XrdOfsTPC::Allow |
( |
char * |
vDN, |
|
|
char * |
vGN, |
|
|
char * |
vHN, |
|
|
char * |
vVO |
|
) |
| |
|
static |
References XrdAccAuthorize::Access(), XrdOfsTPCAuth::Add(), XrdOfsStats::Add(), ALList, AOP_Read, AuthDst, AuthOrg, XrdOfsStats::Data, XrdOfsTPCAuth::Del(), XrdOfsTPC::Facts::Dst, eMsg, XrdSysError::Emsg(), XrdOfsTPC::Facts::Env, EPNAME, XrdOfsTPC::Facts::eRR, XrdOfsTPCAuth::Expired(), Fatal(), XrdOucPListAnchor::Find(), fsAuth, XrdOfsTPCAuth::Get(), XrdOucEnv::Get(), XrdOucErrInfo::getErrUser(), getTTL(), XrdSecEntity::host, XrdOfsTPC::Facts::Lfn, LogOK, XrdOfsTPCAllow::Match(), XrdOfsTPCAllow::Next, XrdOfsStats::StatsData::numTPCdeny, XrdOfsStats::StatsData::numTPCgrant, XrdOfsTPC::Facts::Org, RPList, Screen(), SFS_ERROR, SFS_OK, XrdSecEntity::tident, XrdOucTPC::tpcDst, tpcOK, XrdOucTPC::tpcOrg, XrdOfsTPC::Facts::Usr, and Yield().
Referenced by XrdOfsFile::open().
| virtual void XrdOfsTPC::Del |
( |
| ) |
|
|
inlinevirtual |
| int XrdOfsTPC::Fatal |
( |
XrdOfsTPC::Facts & |
Args, |
|
|
const char * |
eMsg, |
|
|
int |
eCode, |
|
|
int |
nomsg = 0 |
|
) |
| |
|
staticprotected |
References XrdOfsStats::Add(), XrdOfsStats::Data, XrdSysError::Emsg(), XrdOfsTPC::Facts::eRR, XrdOucErrInfo::getErrUser(), XrdOfsTPC::Facts::Lfn, XrdOfsStats::StatsData::numTPCerrs, XrdOucErrInfo::setErrInfo(), and SFS_ERROR.
Referenced by XrdOfsTPCAuth::Add(), Authorize(), XrdOfsTPCAuth::Get(), Screen(), and Validate().
| int XrdOfsTPC::genOrg |
( |
const XrdSecEntity * |
client, |
|
|
char * |
Buff, |
|
|
int |
Blen |
|
) |
| |
|
staticprotected |
References XrdOfsTPC::iParm::Ckst, cksType, XrdOfsTPC::iParm::Dflttl, dflTTL, XrdOfsTPC::iParm::Logok, LogOK, XrdOfsTPC::iParm::Maxttl, maxTTL, nStrms, XrdOfsTPC::iParm::Pgm, XrdOfsTPC::iParm::Strm, xfrMax, XfrProg, and XrdOfsTPC::iParm::Xmax.
Referenced by XrdOfs::Configure(), and XrdOfs::xtpc().
| static void XrdOfsTPC::Init |
( |
XrdOss * |
ossP | ) |
|
|
inlinestatic |
| void XrdOfsTPC::Require |
( |
const char * |
Auth, |
|
|
int |
RType |
|
) |
| |
|
static |
| int XrdOfsTPC::Restrict |
( |
const char * |
Path | ) |
|
|
static |
References XrdOucTPC::cgiD2Src(), XrdOfsTPC::Facts::Env, Fatal(), genOrg(), XrdOucEnv::Get(), XrdOfsTPC::Facts::Key, XrdOfsTPC::Facts::Lfn, XrdOfsTPC::Facts::Pfn, SFS_OK, XrdSecEntity::tident, XrdOucTPC::tpcCks, XrdOucTPC::tpcLfn, tpcOK, XrdOucTPC::tpcSrc, XrdCopy::tpcSrc, and XrdOfsTPC::Facts::Usr.
Referenced by XrdOfsFile::open().
| char * XrdOfsTPC::Verify |
( |
const char * |
Who, |
|
|
const char * |
Name, |
|
|
char * |
Buf, |
|
|
int |
Blen |
|
) |
| |
|
staticprotected |
| const char * XrdOfsTPC::Yield |
( |
const char * |
Name, |
|
|
char * |
Buf, |
|
|
int |
Blen |
|
) |
| |
|
staticprotected |
| char * XrdOfsTPC::cksType = 0 |
|
static |
| int XrdOfsTPC::dflTTL = 7 |
|
staticprotected |
| int XrdOfsTPC::encTPC = 0 |
|
staticprotected |
| int XrdOfsTPC::maxTTL =15 |
|
staticprotected |
| int XrdOfsTPC::nStrms = 0 |
|
staticprotected |
| XrdOss * XrdOfsTPC::OfsOss = 0 |
|
staticprotected |
| const int XrdOfsTPC::reqALL = 0 |
|
static |
| const int XrdOfsTPC::reqDST = 1 |
|
static |
| const int XrdOfsTPC::reqORG = 2 |
|
static |
| int XrdOfsTPC::xfrMax = 9 |
|
staticprotected |
| char * XrdOfsTPC::XfrProg = 0 |
|
staticprotected |
The documentation for this class was generated from the following files: