12#ifndef ROOT_TSecContext
13#define ROOT_TSecContext
62 const char *
id,
const char *token,
65 const char *
id,
const char *token,
#define ClassDef(name, id)
R__EXTERN const TDatime kROOTTZERO
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...
Mother of all ROOT objects.
const char * GetPasswd() const
TPwdCtx(const char *pwd, Bool_t pwh)
TSecContextCleanup(Int_t port, Int_t proto, Int_t type)
Int_t GetProtocol() const
virtual ~TSecContextCleanup()
TDatime GetExpDate() const
Bool_t IsActive() const
Check remote OffSet and expiring Date.
const char * GetID() const
void SetID(const char *id)
void Cleanup()
Cleanup what is still active.
const char * GetHost() const
const char * GetToken() const
void AddForCleanup(Int_t port, Int_t proto, Int_t type)
Create a new TSecContextCleanup Internally is added to the list.
void SetUser(const char *user)
const char * GetMethodName() const
virtual ~TSecContext()
Dtor: delete (deActivate, local/remote cleanup, list removal) all what is still active.
virtual void Print(Option_t *option="F") const
If opt is "F" (default) print object content.
Bool_t IsA(const char *methodname)
Checks if this security context is for method named 'methname' Case sensitive.
void * GetContext() const
void SetExpDate(TDatime expdate)
const char * GetUser() const
virtual void DeActivate(Option_t *opt="CR")
Set OffSet to -1 and expiring Date to default Remove from the list If Opt contains "C" or "c",...
TSecContext & operator=(const TSecContext &)
assignement operator
void SetOffSet(Int_t offset)
virtual const char * AsString(TString &out)
Returns short string with relevant information about this security context.
TList * GetSecContextCleanup() const
virtual Bool_t CleanupSecContext(Bool_t all)
Ask remote client to cleanup security context 'ctx' If 'all', all sec context with the same host as c...