ROOT
Version v6.34
master
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
►
graf3d
►
gui
►
hist
►
html
►
io
►
main
►
math
►
montecarlo
▼
net
▼
auth
▼
inc
►
AuthConst.h
►
TAuthenticate.h
►
THostAuth.h
►
TRootAuth.h
►
TRootSecContext.h
►
res
►
src
►
davix
doc
►
http
►
httpsniff
►
net
►
netxng
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
v6-34-00-patches
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
TRootAuth.h
Go to the documentation of this file.
1
// @(#)root/auth:$Id$
2
// Author: Gerardo Ganis 08/07/05
3
4
/*************************************************************************
5
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TRootAuth
13
#define ROOT_TRootAuth
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TRootAuth //
19
// //
20
// TVirtualAuth implementation based on the old client authentication //
21
// code. //
22
// //
23
//////////////////////////////////////////////////////////////////////////
24
25
#include "
TVirtualAuth.h
"
26
#include "
Rtypes.h
"
27
28
class
TSecContext
;
29
class
TSocket
;
30
31
class
TRootAuth
:
public
TVirtualAuth
{
32
33
public
:
34
TRootAuth
() {}
35
virtual
~TRootAuth
() {}
36
37
TSecContext
*
Authenticate
(
TSocket
*,
const
char
*host,
38
const
char
*user,
Option_t
*options =
""
)
override
;
39
Int_t
ClientVersion
()
override
;
40
void
ErrorMsg
(
const
char
*
where
,
Int_t
ecode
= -1)
override
;
41
const
char
*
Name
()
override
{
return
"Root"
; }
42
43
ClassDefOverride
(
TRootAuth
,0)
// client auth interface
44
};
45
46
#endif
Int_t
int Int_t
Definition
RtypesCore.h:45
Option_t
const char Option_t
Definition
RtypesCore.h:66
Rtypes.h
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
TVirtualAuth.h
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
TRootAuth
Definition
TRootAuth.h:31
TRootAuth::Name
const char * Name() override
Definition
TRootAuth.h:41
TRootAuth::TRootAuth
TRootAuth()
Definition
TRootAuth.h:34
TRootAuth::~TRootAuth
virtual ~TRootAuth()
Definition
TRootAuth.h:35
TRootAuth::ErrorMsg
void ErrorMsg(const char *where, Int_t ecode=-1) override
Print error string corresponding to ecode, prepending location.
Definition
TRootAuth.cxx:118
TRootAuth::Authenticate
TSecContext * Authenticate(TSocket *, const char *host, const char *user, Option_t *options="") override
Runs authentication on socket s.
Definition
TRootAuth.cxx:35
TRootAuth::ClientVersion
Int_t ClientVersion() override
Return client version;.
Definition
TRootAuth.cxx:110
TSecContext
Definition
TSecContext.h:36
TSocket
Definition
TSocket.h:41
TVirtualAuth
Definition
TVirtualAuth.h:27
net
auth
inc
TRootAuth.h
ROOT tags/v6-34-08 - Reference Guide Generated on Tue Apr 8 2025 05:25:04 (GVA Time) using Doxygen 1.10.0