THostAuth
class description - source file - inheritance tree
public:
THostAuth(const char* host = "localhost", const char* user, Int_t nmeth = 0, Int_t* authmeth = 0, char** details = "0")
THostAuth(const char* host, const char* user, Int_t authmeth, const char* details)
THostAuth(const THostAuth&)
virtual ~THostAuth()
void AddMethod(Int_t level, const char* details)
static TClass* Class()
TList* Established() const
const char* GetDetails(Int_t level) const
const char* GetHost() const
Int_t GetMethods(Int_t meth) const
const char* GetUser() const
Bool_t HasMethod(Int_t level)
virtual TClass* IsA() const
Int_t NumMethods() const
virtual void Print(Option_t* option) const
void Print(const char* proc)
void PrintEstablished()
void RemoveMethod(Int_t level)
void ReOrder(Int_t nmet, Int_t* fmet)
void SetDetails(Int_t level, const char* details)
void SetFirst(Int_t method)
void SetFirst(Int_t level, const char* details)
void SetHost(const char* host)
void SetUser(const char* user)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TString fHost Host
TString fUser Username
Int_t fNumMethods Number of AuthMethods
Int_t* fMethods AuthMethods
TString* fDetails AuthDetails
TList* fEstablished List of (TAuthDetails) established authentications
THostAuth
Contains details about host-specific authentication methods and the
result of their application.
Used by TAuthenticate.
THostAuth(const char *host, const char *user, Int_t nmeth,
Int_t *authmeth, char **details) : TObject()
Create hostauth object.
THostAuth(const char *host, const char *user, Int_t authmeth,
const char *details) : TObject()
Create hostauth object with one method only.
void AddMethod(Int_t meth, const char *details)
Add new method to the list.
void RemoveMethod(Int_t meth)
Remove method 'meth' from the list, if there ...
~THostAuth()
The dtor.
const char* GetDetails(Int_t level)
Return authentication details for specified level
or "" if the specified level does not exist for this host.
Bool_t HasMethod(Int_t level)
Return kTRUE if method 'level' is in the list
void SetDetails(Int_t level, const char *details)
Set authentication details for specified level.
void Print(Option_t *) const
Print object content.
void Print(const char *proc)
Print object content.
void PrintEstablished()
Print info about established authentication vis-a-vis of this Host.
void ReOrder(Int_t nmet, Int_t *fmet)
Set new order for existing methods according to fmet
void SetFirst(Int_t method)
Set 'method' to be the first used (if in the list ...).
void SetFirst(Int_t level, const char *details)
Set as first method 'level' with authentication 'details'.
Faster then AddMethod(method,details)+SetFirst(method).
Inline Functions
Int_t NumMethods() const
Int_t GetMethods(Int_t meth) const
const char* GetHost() const
const char* GetUser() const
void SetHost(const char* host)
void SetUser(const char* user)
TList* Established() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
THostAuth THostAuth(const THostAuth&)
Author: G. Ganis 19/03/2003
Last update: root/net:$Name: $:$Id: THostAuth.cxx,v 1.5 2003/11/07 03:29:41 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.