ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
core
base
inc
TVirtualAuth.h
Go to the documentation of this file.
1
// Author: G. Ganis 08/07/05
2
3
/*************************************************************************
4
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
5
* All rights reserved. *
6
* *
7
* For the licensing terms see $ROOTSYS/LICENSE. *
8
* For the list of contributors see $ROOTSYS/README/CREDITS. *
9
*************************************************************************/
10
11
#ifndef ROOT_TVirtualAuth
12
#define ROOT_TVirtualAuth
13
14
//////////////////////////////////////////////////////////////////////////
15
// //
16
// TVirtualAuth //
17
// //
18
// Abstract interface for client authentication code. //
19
// //
20
//////////////////////////////////////////////////////////////////////////
21
22
#ifndef ROOT_Rtypes
23
#include "
Rtypes.h
"
24
#endif
25
26
class
TSecContext
;
27
class
TSocket
;
28
29
class
TVirtualAuth
{
30
31
public
:
32
TVirtualAuth
() { }
33
virtual
~TVirtualAuth
() { }
34
35
virtual
TSecContext
*
Authenticate
(
TSocket
*,
const
char
*host,
36
const
char
*user,
Option_t
*options) = 0;
37
virtual
Int_t
ClientVersion
() = 0;
38
virtual
void
ErrorMsg
(
const
char
*where,
Int_t
ecode) = 0;
39
virtual
const
char
*
Name
() = 0;
40
41
ClassDef
(
TVirtualAuth
,0)
// client auth interface
42
};
43
44
#endif
Rtypes.h
TVirtualAuth::ErrorMsg
virtual void ErrorMsg(const char *where, Int_t ecode)=0
Option_t
const char Option_t
Definition:
RtypesCore.h:62
TVirtualAuth::~TVirtualAuth
virtual ~TVirtualAuth()
Definition:
TVirtualAuth.h:33
TVirtualAuth::Authenticate
virtual TSecContext * Authenticate(TSocket *, const char *host, const char *user, Option_t *options)=0
TVirtualAuth::Name
virtual const char * Name()=0
TSecContext
Definition:
TSecContext.h:42
Int_t
int Int_t
Definition:
RtypesCore.h:41
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TVirtualAuth::TVirtualAuth
TVirtualAuth()
Definition:
TVirtualAuth.h:32
TVirtualAuth::ClientVersion
virtual Int_t ClientVersion()=0
TVirtualAuth
Definition:
TVirtualAuth.h:29
TSocket
Definition:
TSocket.h:76