ROOT
v6-22
Reference Guide
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
#include "
Rtypes.h
"
23
24
class
TSecContext
;
25
class
TSocket
;
26
27
class
TVirtualAuth
{
28
29
public
:
30
TVirtualAuth
() { }
31
virtual
~TVirtualAuth
() { }
32
33
virtual
TSecContext
*
Authenticate
(
TSocket
*,
const
char
*host,
34
const
char
*user,
Option_t
*options) = 0;
35
virtual
Int_t
ClientVersion
() = 0;
36
virtual
void
ErrorMsg
(
const
char
*where,
Int_t
ecode) = 0;
37
virtual
const
char
*
Name
() = 0;
38
39
ClassDef
(
TVirtualAuth
,0)
// client auth interface
40
};
41
42
#endif
Option_t
const char Option_t
Definition:
RtypesCore.h:64
Rtypes.h
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:322
TSecContext
Definition:
TSecContext.h:36
TSocket
Definition:
TSocket.h:41
TVirtualAuth
Definition:
TVirtualAuth.h:27
TVirtualAuth::ClientVersion
virtual Int_t ClientVersion()=0
TVirtualAuth::~TVirtualAuth
virtual ~TVirtualAuth()
Definition:
TVirtualAuth.h:31
TVirtualAuth::ErrorMsg
virtual void ErrorMsg(const char *where, Int_t ecode)=0
TVirtualAuth::Authenticate
virtual TSecContext * Authenticate(TSocket *, const char *host, const char *user, Option_t *options)=0
TVirtualAuth::Name
virtual const char * Name()=0
TVirtualAuth::TVirtualAuth
TVirtualAuth()
Definition:
TVirtualAuth.h:30
int
core
base
inc
TVirtualAuth.h
ROOT v6-22 - Reference Guide Generated on Fri Apr 1 2022 11:50:25 (GVA Time) using Doxygen 1.9.4