TRootSecContext Class Reference

#include <TRootSecContext.h>

Inheritance diagram for TRootSecContext:

TSecContext TSecContext TObject TObject TObject TObject List of all members.

Public Member Functions

 TRootSecContext (const char *url, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0, Int_t key=1)
 TRootSecContext (const char *user, const char *host, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0, Int_t key=1)
virtual ~TRootSecContext ()
const char * AsString (TString &out)
void DeActivate (Option_t *opt="CR")
Int_t GetRSAKey () const
void Print (Option_t *option="F") const
 TRootSecContext (const char *url, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0, Int_t key=1)
 TRootSecContext (const char *user, const char *host, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0, Int_t key=1)
virtual ~TRootSecContext ()
const char * AsString (TString &out)
void DeActivate (Option_t *opt="CR")
Int_t GetRSAKey () const
void Print (Option_t *option="F") const

Private Member Functions

Bool_t CleanupSecContext (Bool_t all)
Bool_t CleanupSecContext (Bool_t all)

Private Attributes

Int_t fRSAKey

Detailed Description

Definition at line 31 of file TRootSecContext.h.


Constructor & Destructor Documentation

TRootSecContext::TRootSecContext ( const char *  url,
Int_t  meth,
Int_t  offset,
const char *  id,
const char *  token,
TDatime  expdate = kROOTTZERO,
void *  ctx = 0,
Int_t  key = 1 
)

Definition at line 48 of file TRootSecContext.cxx.

References TSecContext::fMethod, TSecContext::fMethodName, fRSAKey, TAuthenticate::GetAuthMethod(), gROOT, and R__ASSERT.

Referenced by G__G__RootAuth_129_0_2(), G__G__RootAuth_129_0_20(), and G__G__RootAuth_129_0_3().

TRootSecContext::TRootSecContext ( const char *  user,
const char *  host,
Int_t  meth,
Int_t  offset,
const char *  id,
const char *  token,
TDatime  expdate = kROOTTZERO,
void *  ctx = 0,
Int_t  key = 1 
)

TRootSecContext::~TRootSecContext (  )  [virtual]

Definition at line 62 of file TRootSecContext.cxx.

References TSecContext::Cleanup().

TRootSecContext::TRootSecContext ( const char *  url,
Int_t  meth,
Int_t  offset,
const char *  id,
const char *  token,
TDatime  expdate = kROOTTZERO,
void *  ctx = 0,
Int_t  key = 1 
)

TRootSecContext::TRootSecContext ( const char *  user,
const char *  host,
Int_t  meth,
Int_t  offset,
const char *  id,
const char *  token,
TDatime  expdate = kROOTTZERO,
void *  ctx = 0,
Int_t  key = 1 
)

virtual TRootSecContext::~TRootSecContext (  )  [virtual]


Member Function Documentation

Bool_t TRootSecContext::CleanupSecContext ( Bool_t  all  )  [private, virtual]

Reimplemented from TSecContext.

Definition at line 120 of file TRootSecContext.cxx.

References TString::Data(), TSecContext::fCleanup, TAuthenticate::fgProcessID, TSecContext::fHost, TSecContext::fMethod, TSecContext::fOffSet, Form(), fRSAKey, TSecContext::fToken, TSecContext::fUser, gDebug, TSecContextCleanup::GetPort(), TSecContextCleanup::GetProtocol(), TSecContextCleanup::GetType(), TObject::Info(), TSecContext::IsActive(), TSocket::IsValid(), kFALSE, kIterBackward, kNoDelay, TSocket::kPROOFD, TSocket::kROOTD, kROOTD_CLEANUP, kTRUE, level, XrdMonCtrCollector::port, SafeDelete, TAuthenticate::SecureSend(), TSocket::Send(), and TSocket::SetOption().

Referenced by DeActivate().

const char * TRootSecContext::AsString ( TString out  )  [virtual]

Reimplemented from TSecContext.

Definition at line 254 of file TRootSecContext.cxx.

References TDatime::AsString(), TString::BeginsWith(), TSecContext::fExpDate, TSecContext::fID, TSecContext::fMethod, TSecContext::fOffSet, Form(), TSecContext::GetMethodName(), and out.

Referenced by G__G__RootAuth_126_0_9().

void TRootSecContext::DeActivate ( Option_t opt = "CR"  )  [virtual]

Reimplemented from TSecContext.

Definition at line 71 of file TRootSecContext.cxx.

References CleanupSecContext(), TSecContext::fContext, TSecContext::fExpDate, TSecContext::fMethod, TSecContext::fOffSet, TAuthenticate::GetGlobusAuthHook(), TROOT::GetListOfSecContexts(), gROOT, gROOTMutex, TAuthenticate::kClear, kFALSE, TAuthenticate::kGlobus, kROOTTZERO, TAuthenticate::kSRP, R__LOCKGUARD2, TCollection::Remove(), and TAuthenticate::RemoveSecContext().

Referenced by G__G__RootAuth_126_0_25().

Int_t TRootSecContext::GetRSAKey (  )  const [inline]

Definition at line 51 of file TRootSecContext.h.

References fRSAKey.

Referenced by G__G__RootAuth_129_0_6().

void TRootSecContext::Print ( Option_t option = "F"  )  const [virtual]

Reimplemented from TSecContext.

Definition at line 196 of file TRootSecContext.cxx.

References TDatime::AsString(), TString::BeginsWith(), TString::Data(), TSecContext::fExpDate, TSecContext::fID, TSecContext::fMethod, TSecContext::fOffSet, TSecContext::fUser, TSecContext::GetHost(), TSecContext::GetMethodName(), i, TObject::Info(), ord, and Printf().

Referenced by TAuthenticate::Authenticate().

Bool_t TRootSecContext::CleanupSecContext ( Bool_t  all  )  [private, virtual]

Reimplemented from TSecContext.

const char* TRootSecContext::AsString ( TString out  )  [virtual]

Reimplemented from TSecContext.

void TRootSecContext::DeActivate ( Option_t opt = "CR"  )  [virtual]

Reimplemented from TSecContext.

Int_t TRootSecContext::GetRSAKey (  )  const [inline]

Definition at line 51 of file TRootSecContext.h.

References fRSAKey.

void TRootSecContext::Print ( Option_t option = "F"  )  const [virtual]

Reimplemented from TSecContext.


Member Data Documentation

Int_t TRootSecContext::fRSAKey [private]

Definition at line 34 of file TRootSecContext.h.

Referenced by CleanupSecContext(), GetRSAKey(), and TRootSecContext().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:46:32 2011 for ROOT_528-00b_version by  doxygen 1.5.1