#include <TSecContext.h>
Inheritance diagram for TSecContext:
Public Member Functions | |
TSecContext (const char *url, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0) | |
TSecContext (const char *user, const char *host, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0) | |
virtual | ~TSecContext () |
void | AddForCleanup (Int_t port, Int_t proto, Int_t type) |
virtual const char * | AsString (TString &out) |
virtual void | DeActivate (Option_t *opt="CR") |
void * | GetContext () const |
TDatime | GetExpDate () const |
const char * | GetHost () const |
const char * | GetID () const |
Int_t | GetMethod () const |
const char * | GetMethodName () const |
Int_t | GetOffSet () const |
TList * | GetSecContextCleanup () const |
const char * | GetToken () const |
const char * | GetUser () const |
Bool_t | IsA (const char *methodname) |
Bool_t | IsActive () const |
virtual void | Print (Option_t *option="F") const |
void | SetExpDate (TDatime expdate) |
void | SetID (const char *id) |
void | SetOffSet (Int_t offset) |
void | SetUser (const char *user) |
TSecContext (const char *url, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0) | |
TSecContext (const char *user, const char *host, Int_t meth, Int_t offset, const char *id, const char *token, TDatime expdate=kROOTTZERO, void *ctx=0) | |
virtual | ~TSecContext () |
void | AddForCleanup (Int_t port, Int_t proto, Int_t type) |
virtual const char * | AsString (TString &out) |
virtual void | DeActivate (Option_t *opt="CR") |
void * | GetContext () const |
TDatime | GetExpDate () const |
const char * | GetHost () const |
const char * | GetID () const |
Int_t | GetMethod () const |
const char * | GetMethodName () const |
Int_t | GetOffSet () const |
TList * | GetSecContextCleanup () const |
const char * | GetToken () const |
const char * | GetUser () const |
Bool_t | IsA (const char *methodname) |
Bool_t | IsActive () const |
virtual void | Print (Option_t *option="F") const |
void | SetExpDate (TDatime expdate) |
void | SetID (const char *id) |
void | SetOffSet (Int_t offset) |
void | SetUser (const char *user) |
Protected Member Functions | |
TSecContext (const TSecContext &) | |
TSecContext & | operator= (const TSecContext &) |
TSecContext (const TSecContext &) | |
TSecContext & | operator= (const TSecContext &) |
Private Member Functions | |
virtual Bool_t | CleanupSecContext (Bool_t all) |
void | Cleanup () |
virtual Bool_t | CleanupSecContext (Bool_t all) |
void | Cleanup () |
Private Attributes | |
void * | fContext |
TList * | fCleanup |
TDatime | fExpDate |
TString | fHost |
TString | fID |
Int_t | fMethod |
TString | fMethodName |
Int_t | fOffSet |
TString | fToken |
TString | fUser |
void * | fContext |
TList * | fCleanup |
Friends | |
class | TRootSecContext |
Definition at line 42 of file TSecContext.h.
TSecContext::TSecContext | ( | const TSecContext & | ) | [protected] |
Definition at line 105 of file TSecContext.cxx.
TSecContext::TSecContext | ( | const char * | url, | |
Int_t | meth, | |||
Int_t | offset, | |||
const char * | id, | |||
const char * | token, | |||
TDatime | expdate = kROOTTZERO , |
|||
void * | ctx = 0 | |||
) |
Definition at line 70 of file TSecContext.cxx.
References TSeqCollection::Add(), fCleanup, fContext, fExpDate, fHost, fID, fMethod, fMethodName, fOffSet, fToken, fUser, TROOT::GetListOfSecContexts(), gROOT, gROOTMutex, R__ASSERT, R__LOCKGUARD2, and TDatime::Set().
TSecContext::TSecContext | ( | const char * | user, | |
const char * | host, | |||
Int_t | meth, | |||
Int_t | offset, | |||
const char * | id, | |||
const char * | token, | |||
TDatime | expdate = kROOTTZERO , |
|||
void * | ctx = 0 | |||
) |
TSecContext::~TSecContext | ( | ) | [virtual] |
TSecContext::TSecContext | ( | const TSecContext & | ) | [protected] |
TSecContext::TSecContext | ( | const char * | url, | |
Int_t | meth, | |||
Int_t | offset, | |||
const char * | id, | |||
const char * | token, | |||
TDatime | expdate = kROOTTZERO , |
|||
void * | ctx = 0 | |||
) |
TSecContext::TSecContext | ( | const char * | user, | |
const char * | host, | |||
Int_t | meth, | |||
Int_t | offset, | |||
const char * | id, | |||
const char * | token, | |||
TDatime | expdate = kROOTTZERO , |
|||
void * | ctx = 0 | |||
) |
virtual TSecContext::~TSecContext | ( | ) | [virtual] |
Definition at line 324 of file TSecContext.cxx.
References TObject::AbstractMethod(), and kFALSE.
Referenced by Cleanup(), and DeActivate().
void TSecContext::Cleanup | ( | ) | [private] |
Definition at line 150 of file TSecContext.cxx.
References CleanupSecContext(), TString::Data(), DeActivate(), TList::Delete(), fCleanup, fHost, TROOT::GetListOfSecContexts(), gROOT, IsActive(), and kTRUE.
Referenced by TRootSecContext::~TRootSecContext(), and ~TSecContext().
TSecContext & TSecContext::operator= | ( | const TSecContext & | ) | [protected] |
Definition at line 122 of file TSecContext.cxx.
References fCleanup, fContext, fExpDate, fHost, fID, fMethod, fMethodName, fOffSet, fToken, fUser, and TObject::operator=().
Definition at line 204 of file TSecContext.cxx.
References TList::Add(), and fCleanup.
Referenced by TAuthenticate::Authenticate().
const char * TSecContext::AsString | ( | TString & | out | ) | [virtual] |
Definition at line 302 of file TSecContext.cxx.
References TDatime::AsString(), fExpDate, fMethod, fOffSet, Form(), GetMethodName(), and out.
Referenced by TFTP::Print().
void TSecContext::DeActivate | ( | Option_t * | opt = "CR" |
) | [virtual] |
Definition at line 178 of file TSecContext.cxx.
References CleanupSecContext(), fExpDate, fOffSet, TROOT::GetListOfSecContexts(), gROOT, gROOTMutex, kFALSE, kROOTTZERO, R__LOCKGUARD2, and TCollection::Remove().
Referenced by Cleanup(), and TSlave::Close().
void* TSecContext::GetContext | ( | ) | const [inline] |
Definition at line 79 of file TSecContext.h.
References fContext.
Referenced by GlobusCheckSecCtx(), OldSlaveAuthSetup(), and TAuthenticate::ProofAuthSetup().
TDatime TSecContext::GetExpDate | ( | ) | const [inline] |
const char* TSecContext::GetHost | ( | void | ) | const [inline] |
Definition at line 81 of file TSecContext.h.
References fHost.
Referenced by TNetSystem::Create(), G__G__RootAuth_126_0_31(), TRootSecContext::Print(), Print(), and SrvAuthImpl().
const char* TSecContext::GetID | ( | ) | const [inline] |
Definition at line 82 of file TSecContext.h.
References fID.
Referenced by Krb5CheckSecCtx(), SrvAuthImpl(), SrvClupImpl(), and StdCheckSecCtx().
Int_t TSecContext::GetMethod | ( | ) | const [inline] |
Definition at line 83 of file TSecContext.h.
References fMethod.
Referenced by G__G__RootAuth_126_0_11(), and SrvAuthImpl().
const char* TSecContext::GetMethodName | ( | ) | const [inline] |
Definition at line 84 of file TSecContext.h.
References fMethodName.
Referenced by AsString(), TRootSecContext::AsString(), IsA(), TRootSecContext::Print(), and Print().
Int_t TSecContext::GetOffSet | ( | ) | const [inline] |
Definition at line 85 of file TSecContext.h.
References fOffSet.
Referenced by OldSlaveAuthSetup(), and TAuthenticate::ProofAuthSetup().
TList* TSecContext::GetSecContextCleanup | ( | ) | const [inline] |
const char* TSecContext::GetToken | ( | ) | const [inline] |
const char* TSecContext::GetUser | ( | ) | const [inline] |
Definition at line 88 of file TSecContext.h.
References fUser.
Referenced by TNetSystem::Create(), G__G__RootAuth_125_0_32(), G__G__RootAuth_126_0_33(), TFTP::Init(), OldSlaveAuthSetup(), TAuthenticate::ProofAuthSetup(), SRPCheckSecCtx(), SrvAuthImpl(), and StdCheckSecCtx().
Bool_t TSecContext::IsA | ( | const char * | methodname | ) |
Definition at line 215 of file TSecContext.cxx.
References GetMethodName().
Referenced by OldSlaveAuthSetup(), and TAuthenticate::ProofAuthSetup().
Bool_t TSecContext::IsActive | ( | ) | const |
Definition at line 224 of file TSecContext.cxx.
References fExpDate, fOffSet, kFALSE, and kTRUE.
Referenced by TAuthenticate::Authenticate(), Cleanup(), TRootSecContext::CleanupSecContext(), TSlave::Close(), THostAuth::CreateSecContext(), G__G__RootAuth_126_0_24(), GlobusCheckSecCtx(), Krb5CheckSecCtx(), SRPCheckSecCtx(), and StdCheckSecCtx().
void TSecContext::Print | ( | Option_t * | option = "F" |
) | const [virtual] |
Reimplemented from TObject.
Definition at line 235 of file TSecContext.cxx.
References TDatime::AsString(), TString::Data(), fExpDate, fID, fMethod, fOffSet, fUser, GetHost(), GetMethodName(), i, TObject::Info(), len, ord, Printf(), snprintf, and strlcat().
Referenced by THostAuth::PrintEstablished(), and TAuthenticate::Show().
void TSecContext::SetExpDate | ( | TDatime | expdate | ) | [inline] |
void TSecContext::SetID | ( | const char * | id | ) | [inline] |
Definition at line 96 of file TSecContext.h.
References fID.
Referenced by TAuthenticate::ClearAuth().
void TSecContext::SetOffSet | ( | Int_t | offset | ) | [inline] |
void TSecContext::SetUser | ( | const char * | user | ) | [inline] |
Definition at line 98 of file TSecContext.h.
References fUser.
Referenced by G__G__RootAuth_126_0_36().
void TSecContext::Cleanup | ( | ) | [private] |
TSecContext& TSecContext::operator= | ( | const TSecContext & | ) | [protected] |
virtual const char* TSecContext::AsString | ( | TString & | out | ) | [virtual] |
virtual void TSecContext::DeActivate | ( | Option_t * | opt = "CR" |
) | [virtual] |
void* TSecContext::GetContext | ( | ) | const [inline] |
TDatime TSecContext::GetExpDate | ( | ) | const [inline] |
const char* TSecContext::GetHost | ( | void | ) | const [inline] |
const char* TSecContext::GetID | ( | ) | const [inline] |
Int_t TSecContext::GetMethod | ( | ) | const [inline] |
const char* TSecContext::GetMethodName | ( | ) | const [inline] |
Int_t TSecContext::GetOffSet | ( | ) | const [inline] |
TList* TSecContext::GetSecContextCleanup | ( | ) | const [inline] |
const char* TSecContext::GetToken | ( | ) | const [inline] |
const char* TSecContext::GetUser | ( | ) | const [inline] |
Bool_t TSecContext::IsA | ( | const char * | methodname | ) |
Bool_t TSecContext::IsActive | ( | ) | const |
virtual void TSecContext::Print | ( | Option_t * | option = "F" |
) | const [virtual] |
Reimplemented from TObject.
void TSecContext::SetExpDate | ( | TDatime | expdate | ) | [inline] |
void TSecContext::SetID | ( | const char * | id | ) | [inline] |
void TSecContext::SetOffSet | ( | Int_t | offset | ) | [inline] |
void TSecContext::SetUser | ( | const char * | user | ) | [inline] |
TRootSecContext [friend] |
Definition at line 44 of file TSecContext.h.
void* TSecContext::fContext [private] |
Definition at line 47 of file TSecContext.h.
Referenced by TRootSecContext::DeActivate(), GetContext(), operator=(), and TSecContext().
TList* TSecContext::fCleanup [private] |
Definition at line 48 of file TSecContext.h.
Referenced by AddForCleanup(), Cleanup(), TRootSecContext::CleanupSecContext(), GetSecContextCleanup(), operator=(), and TSecContext().
TDatime TSecContext::fExpDate [private] |
Definition at line 49 of file TSecContext.h.
Referenced by AsString(), TRootSecContext::AsString(), DeActivate(), TRootSecContext::DeActivate(), GetExpDate(), IsActive(), operator=(), TRootSecContext::Print(), Print(), SetExpDate(), and TSecContext().
TString TSecContext::fHost [private] |
Definition at line 50 of file TSecContext.h.
Referenced by Cleanup(), TRootSecContext::CleanupSecContext(), GetHost(), operator=(), and TSecContext().
TString TSecContext::fID [private] |
Definition at line 51 of file TSecContext.h.
Referenced by TRootSecContext::AsString(), GetID(), operator=(), Print(), TRootSecContext::Print(), SetID(), and TSecContext().
Int_t TSecContext::fMethod [private] |
Definition at line 52 of file TSecContext.h.
Referenced by AsString(), TRootSecContext::AsString(), TRootSecContext::CleanupSecContext(), TRootSecContext::DeActivate(), GetMethod(), operator=(), TRootSecContext::Print(), Print(), TRootSecContext::TRootSecContext(), and TSecContext().
TString TSecContext::fMethodName [private] |
Definition at line 53 of file TSecContext.h.
Referenced by GetMethodName(), operator=(), TRootSecContext::TRootSecContext(), and TSecContext().
Int_t TSecContext::fOffSet [private] |
Definition at line 54 of file TSecContext.h.
Referenced by AsString(), TRootSecContext::AsString(), TRootSecContext::CleanupSecContext(), DeActivate(), TRootSecContext::DeActivate(), GetOffSet(), IsActive(), operator=(), TRootSecContext::Print(), Print(), SetOffSet(), and TSecContext().
TString TSecContext::fToken [private] |
Definition at line 55 of file TSecContext.h.
Referenced by TRootSecContext::CleanupSecContext(), GetToken(), operator=(), and TSecContext().
TString TSecContext::fUser [private] |
Definition at line 56 of file TSecContext.h.
Referenced by TRootSecContext::CleanupSecContext(), GetUser(), operator=(), Print(), TRootSecContext::Print(), SetUser(), and TSecContext().
void* TSecContext::fContext [private] |
Definition at line 47 of file TSecContext.h.
TList* TSecContext::fCleanup [private] |
Definition at line 48 of file TSecContext.h.