xrootd
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
XrdOfsTPC Class Reference

#include <XrdOfsTPC.hh>

Inheritance diagram for XrdOfsTPC:
Inheritance graph
[legend]
Collaboration diagram for XrdOfsTPC:
Collaboration graph
[legend]

List of all members.

Classes

struct  Facts
struct  iParm

Public Member Functions

virtual void Del ()
virtual int Sync (XrdOucErrInfo *error)
 XrdOfsTPC ()
 XrdOfsTPC (const char *Url, const char *Org, const char *Lfn, const char *Pfn, const char *Cks=0)
virtual ~XrdOfsTPC ()

Static Public Member Functions

static void Allow (char *vDN, char *vGN, char *vHN, char *vVO)
static int Authorize (XrdOfsTPC **theTPC, Facts &Args, int isPLE=0)
static void Init (iParm &Parms)
static void Init (XrdAccAuthorize *accP)
static void Init (XrdOss *ossP)
static void Require (const char *Auth, int RType)
static int Restrict (const char *Path)
static int Start ()
static int Validate (XrdOfsTPC **theTPC, Facts &Args)

Public Attributes

XrdOfsTPCInfo Info

Static Public Attributes

static const int reqALL = 0
static const int reqDST = 1
static const int reqORG = 2
static char * cksType = 0

Static Protected Member Functions

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)

Protected Attributes

char Refs
char inQ

Static Protected Attributes

static XrdAccAuthorize * fsAuth = 0
static XrdOss * OfsOss = 0
static char * XfrProg = 0
static XrdOucTList * AuthDst = 0
static XrdOucTList * AuthOrg = 0
static XrdOfsTPCAllow * ALList = 0
static XrdOucPListAnchor * RPList
static int dflTTL = 7
static int maxTTL = 15
static int LogOK = 0
static int nStrms = 0
static int xfrMax = 9
static int tpcOK = 0
static int encTPC = 0

Constructor & Destructor Documentation

XrdOfsTPC::XrdOfsTPC ( )
inline
XrdOfsTPC::XrdOfsTPC ( const char *  Url,
const char *  Org,
const char *  Lfn,
const char *  Pfn,
const char *  Cks = 0 
)
inline
virtual XrdOfsTPC::~XrdOfsTPC ( )
inlinevirtual

Member Function Documentation

void XrdOfsTPC::Allow ( char *  vDN,
char *  vGN,
char *  vHN,
char *  vVO 
)
static

References ALList.

Referenced by XrdOfs::xtpcal().

int XrdOfsTPC::Authorize ( XrdOfsTPC **  theTPC,
XrdOfsTPC::Facts &  Args,
int  isPLE = 0 
)
static
virtual void XrdOfsTPC::Del ( )
inlinevirtual

Reimplemented in XrdOfsTPCAuth, and XrdOfsTPCJob.

Referenced by XrdOfsFile::close().

int XrdOfsTPC::Fatal ( XrdOfsTPC::Facts &  Args,
const char *  eMsg,
int  eCode,
int  nomsg = 0 
)
staticprotected
int XrdOfsTPC::genOrg ( const XrdSecEntity *  client,
char *  Buff,
int  Blen 
)
staticprotected
int XrdOfsTPC::getTTL ( XrdOucEnv *  Env)
staticprotected

References dflTTL, XrdOucEnv::Get(), maxTTL, and XrdOucTPC::tpcTtl.

Referenced by Authorize().

void XrdOfsTPC::Init ( XrdOfsTPC::iParm &  Parms)
static
static void XrdOfsTPC::Init ( XrdAccAuthorize *  accP)
inlinestatic

References fsAuth.

static void XrdOfsTPC::Init ( XrdOss *  ossP)
inlinestatic

References OfsOss.

void XrdOfsTPC::Require ( const char *  Auth,
int  RType 
)
static

References AuthDst, AuthOrg, encTPC, reqDST, reqORG, and XrdOucTList::text.

Referenced by XrdOfs::xtpc().

int XrdOfsTPC::Restrict ( const char *  Path)
static
int XrdOfsTPC::Screen ( XrdOfsTPC::Facts &  Args,
XrdOucTList *  tP,
int  wasEnc = 0 
)
staticprotected
int XrdOfsTPC::Start ( )
static
virtual int XrdOfsTPC::Sync ( XrdOucErrInfo *  error)
inlinevirtual

Reimplemented in XrdOfsTPCJob.

Referenced by XrdOfsFile::sync().

int XrdOfsTPC::Validate ( XrdOfsTPC **  theTPC,
XrdOfsTPC::Facts &  Args 
)
static
char * XrdOfsTPC::Verify ( const char *  Who,
const char *  Name,
char *  Buf,
int  Blen 
)
staticprotected

References XrdSysDNS::getHostName().

Referenced by genOrg().

const char * XrdOfsTPC::Yield ( const char *  Name,
char *  Buf,
int  Blen 
)
staticprotected

References XrdSysDNS::getHostName(), and strlcpy().

Referenced by Authorize().


Member Data Documentation

XrdOfsTPCAllow * XrdOfsTPC::ALList = 0
staticprotected

Referenced by Allow(), and Authorize().

XrdOucTList * XrdOfsTPC::AuthDst = 0
staticprotected

Referenced by Authorize(), and Require().

XrdOucTList * XrdOfsTPC::AuthOrg = 0
staticprotected

Referenced by Authorize(), and Require().

char * XrdOfsTPC::cksType = 0
static

Referenced by Init(), and XrdOfsTPCProg::Xeq().

int XrdOfsTPC::dflTTL = 7
staticprotected

Referenced by getTTL(), and Init().

int XrdOfsTPC::encTPC = 0
staticprotected

Referenced by Require(), and Start().

XrdAccAuthorize * XrdOfsTPC::fsAuth = 0
staticprotected

Referenced by Authorize(), and Init().

XrdOfsTPCInfo XrdOfsTPC::Info
char XrdOfsTPC::inQ
protected
int XrdOfsTPC::LogOK = 0
staticprotected

Referenced by Authorize(), and Init().

int XrdOfsTPC::maxTTL = 15
staticprotected
int XrdOfsTPC::nStrms = 0
staticprotected

Referenced by Init(), and Start().

XrdOss * XrdOfsTPC::OfsOss = 0
staticprotected

Referenced by Init().

char XrdOfsTPC::Refs
protected
const int XrdOfsTPC::reqALL = 0
static

Referenced by XrdOfs::xtpc().

const int XrdOfsTPC::reqDST = 1
static

Referenced by Require(), and XrdOfs::xtpc().

const int XrdOfsTPC::reqORG = 2
static

Referenced by Require(), and XrdOfs::xtpc().

XrdOucPListAnchor * XrdOfsTPC::RPList
staticprotected

Referenced by Authorize(), Restrict(), and Start().

int XrdOfsTPC::tpcOK = 0
staticprotected

Referenced by Authorize(), Start(), and Validate().

int XrdOfsTPC::xfrMax = 9
staticprotected

Referenced by Init(), and Start().

char * XrdOfsTPC::XfrProg = 0
staticprotected

Referenced by Init(), and Start().


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