12 #ifndef ROOT_TSecContext
13 #define ROOT_TSecContext
68 const char *
id,
const char *token,
69 TDatime expdate = kROOTTZERO,
void *ctx = 0);
71 const char *
id,
const char *token,
72 TDatime expdate = kROOTTZERO,
void *ctx = 0);
TDatime GetExpDate() const
TSecContextCleanup(Int_t port, Int_t proto, Int_t type)
TSecContext(const TSecContext &)
copy constructor
void AddForCleanup(Int_t port, Int_t proto, Int_t type)
Create a new TSecContextCleanup Internally is added to the list.
void * GetContext() const
virtual ~TSecContextCleanup()
void SetExpDate(TDatime expdate)
virtual ~TSecContext()
Dtor: delete (deActivate, local/remote cleanup, list removal) all what is still active.
const char * GetUser() const
const char * GetHost() const
const char * GetMethodName() const
Bool_t IsActive() const
Check remote OffSet and expiring Date.
const char * GetToken() const
#define ClassDef(name, id)
void SetUser(const char *user)
void Cleanup()
Cleanup what is still active.
TPwdCtx(const char *pwd, Bool_t pwh)
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...
Bool_t IsA(const char *methodname)
Checks if this security context is for method named 'methname' Case sensitive.
TSecContext & operator=(const TSecContext &)
assignement operator
TList * GetSecContextCleanup() const
void SetID(const char *id)
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"...
const char * GetPasswd() const
virtual const char * AsString(TString &out)
Returns short string with relevant information about this security context.
virtual void Print(Option_t *option="F") const
If opt is "F" (default) print object content.
const char * GetID() const
Mother of all ROOT objects.
Int_t GetProtocol() const
void SetOffSet(Int_t offset)
This class stores the date and time with a precision of one second in an unsigned 32 bit word (950130...