#include "RConfigure.h"
#include "TAuthenticate.h"
#include "TApplication.h"
#include "THostAuth.h"
#include "TRootSecContext.h"
#include "TPluginManager.h"
#include "TNetFile.h"
#include "TPSocket.h"
#include "TMessage.h"
#include "TSystem.h"
#include "TError.h"
#include "Getline.h"
#include "TROOT.h"
#include "TEnv.h"
#include "TList.h"
#include "NetErrors.h"
#include "TRegexp.h"
#include "TVirtualMutex.h"
#include "TTimer.h"
#include "TBase64.h"
#include "strlcpy.h"
#include "snprintf.h"
#include "rsafun.h"
#include <sys/stat.h>
#include <errno.h>
#include <sys/types.h>
#include <time.h>
#include <crypt.h>
#include <stdlib.h>
#include <sys/time.h>
Classes | |
struct | R__rsa_KEY |
struct | R__rsa_KEY_export |
struct | R__rsa_NUMBER |
Namespaces | |
namespace | ROOT |
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7 | |
Functions | |
static int | auth_rand () |
rand() implementation using /udev/random or /dev/random, if available | |
Int_t | OldProofServAuthSetup (TSocket *sock, Bool_t master, Int_t protocol, TString &user, TString &ord, TString &conf) |
Authentication related setup in TProofServ run after successful startup. | |
Int_t | OldSlaveAuthSetup (TSocket *sock, Bool_t, TString ord, TString conf) |
Setup of authetication in PROOF run after successful opening of the socket. | |
static Int_t | RecvHostAuth (TSocket *s, Option_t *opt) |
Receive from client/master directives for authentications, create related THostAuth and add them to the TAuthenticate::ProofAuthInfo list. | |
static Int_t | SendHostAuth (TSocket *s) |
Sends the list of the relevant THostAuth objects to the master or to the active slaves, typically data servers external to the proof cluster. | |
Int_t | StdCheckSecCtx (const char *user, TRootSecContext *ctx) |
Standard version of CheckSecCtx to be passed to TAuthenticate::AuthExists Check if User is matches the one in Ctx Returns: 1 if ok, 0 if not Deactivates Ctx is not valid. | |
Variables | |
TVirtualMutex * | gAuthenticateMutex = 0 |
R__rsa_KEY_export | R__fgRSAPubExport [2] = {{}, {}} |
|
static |
rand() implementation using /udev/random or /dev/random, if available
Definition at line 132 of file TAuthenticate.cxx.
Int_t OldProofServAuthSetup | ( | TSocket * | sock, |
Bool_t | master, | ||
Int_t | protocol, | ||
TString & | user, | ||
TString & | ord, | ||
TString & | conf | ||
) |
Authentication related setup in TProofServ run after successful startup.
Provided for backward compatibility. Return 0 on success, -1 on failure.
Definition at line 4151 of file TAuthenticate.cxx.
Setup of authetication in PROOF run after successful opening of the socket.
Provided for backward compatibility. Return 0 on success, -1 on failure.
Definition at line 4057 of file TAuthenticate.cxx.
Receive from client/master directives for authentications, create related THostAuth and add them to the TAuthenticate::ProofAuthInfo list.
Opt = "M" or "m" if Master, "S" or "s" if Proof slave. The 'proofconf' file is read only if Master
Definition at line 3946 of file TAuthenticate.cxx.
Sends the list of the relevant THostAuth objects to the master or to the active slaves, typically data servers external to the proof cluster.
The list is of THostAuth to be sent is specified by TAuthenticate::fgProofAuthInfo after directives found in the .rootauthrc family files ('proofserv' key) Returns -1 if a problem sending THostAuth has occured, -2 in case of problems closing the transmission.
Definition at line 3908 of file TAuthenticate.cxx.
Int_t StdCheckSecCtx | ( | const char * | user, |
TRootSecContext * | ctx | ||
) |
Standard version of CheckSecCtx to be passed to TAuthenticate::AuthExists Check if User is matches the one in Ctx Returns: 1 if ok, 0 if not Deactivates Ctx is not valid.
Definition at line 3590 of file TAuthenticate.cxx.
TVirtualMutex* gAuthenticateMutex = 0 |
Definition at line 121 of file TAuthenticate.cxx.
R__rsa_KEY_export R__fgRSAPubExport[2] = {{}, {}} |
Definition at line 109 of file TAuthenticate.cxx.