Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TAuthenticate Class Reference

#include <TAuthenticate.h>

Inheritance diagram for TAuthenticate:

Inheritance graph
[legend]
Collaboration diagram for TAuthenticate:

Collaboration graph
[legend]
List of all members.

Public Types

enum  ESecurity { kClear, kSRP, kKrb5 }

Public Methods

 TAuthenticate (TSocket *sock, const char *remote, const char *proto, Int_t security)
virtual ~TAuthenticate ()
Bool_t Authenticate ()
Bool_t CheckNetrc (TString &user, TString &passwd)
const char * GetUser () const
const char * GetPasswd () const

Static Public Methods

const char * GetGlobalUser ()
const char * GetGlobalPasswd ()
void SetGlobalUser (const char *user)
void SetGlobalPasswd (const char *passwd)
char * PromptUser (const char *remote)
char * PromptPasswd (const char *prompt="Password:")
void SetSecureAuthHook (SecureAuth_t func)
void SetKrb5AuthHook (Krb5Auth_t func)
void AuthError (const char *where, Int_t error)

Member Enumeration Documentation

enum TAuthenticate::ESecurity
 

Enumeration values:
kClear 
kSRP 
kKrb5 

Definition at line 43 of file TAuthenticate.h.


Constructor & Destructor Documentation

TAuthenticate::TAuthenticate TSocket   sock,
const char *    remote,
const char *    proto,
Int_t    security
 

virtual TAuthenticate::~TAuthenticate   [virtual]
 

Definition at line 61 of file TAuthenticate.h.


Member Function Documentation

Bool_t TAuthenticate::Authenticate  
 

Bool_t TAuthenticate::CheckNetrc TString   user,
TString   passwd
 

const char* TAuthenticate::GetUser   const
 

Definition at line 65 of file TAuthenticate.h.

References TString::Data().

const char* TAuthenticate::GetPasswd   const
 

Definition at line 66 of file TAuthenticate.h.

References TString::Data().

const char* TAuthenticate::GetGlobalUser   [static]
 

const char* TAuthenticate::GetGlobalPasswd   [static]
 

void TAuthenticate::SetGlobalUser const char *    user [static]
 

void TAuthenticate::SetGlobalPasswd const char *    passwd [static]
 

char* TAuthenticate::PromptUser const char *    remote [static]
 

char* TAuthenticate::PromptPasswd const char *    prompt = "Password:" [static]
 

void TAuthenticate::SetSecureAuthHook SecureAuth_t    func [static]
 

void TAuthenticate::SetKrb5AuthHook Krb5Auth_t    func [static]
 

void TAuthenticate::AuthError const char *    where,
Int_t    error
[static]
 


The documentation for this class was generated from the following file:
Generated on Thu Dec 18 14:56:36 2003 for ROOT by doxygen1.2.16