#include <stdio.h>#include <t_pwd.h>#include <t_client.h>#include "TSocket.h"#include "TAuthenticate.h"#include "THostAuth.h"#include "TError.h"#include "TSystem.h"#include "TEnv.h"#include "rpderr.h"Go to the source code of this file.
Classes | |
| class | SRPAuthInit |
Functions | |
| Int_t | SRPAuthenticate (TAuthenticate *, const char *user, const char *passwd, const char *remote, TString &, Int_t) |
| Int_t | SRPCheckSecCtx (const char *, TSecContext *) |
Variables | |
| static SRPAuthInit | srpauth_init |
| Int_t SRPAuthenticate | ( | TAuthenticate * | , | |
| const char * | user, | |||
| const char * | passwd, | |||
| const char * | remote, | |||
| TString & | , | |||
| Int_t | ||||
| ) |
Definition at line 40 of file SRPAuth.cxx.
References A, TAuthenticate::AuthError(), TAuthenticate::AuthExists(), THostAuth::CreateSecContext(), TString::Data(), Error, Form(), gDebug, TAuthenticate::GetAuthMethod(), TAuthenticate::GetAuthReUse(), TAuthenticate::GetGlobalExpDate(), TAuthenticate::GetHostAuth(), TAuthenticate::GetPromptUser(), TAuthenticate::GetProtocol(), TAuthenticate::GetRemoteHost(), TAuthenticate::GetRSAKeyType(), TAuthenticate::GetSocket(), TAuthenticate::GetUser(), gSystem, TSystem::HostName(), Info, kAUTH_REUSE_MSK, kAUTH_RSATY_MSK, kErrConnectionRefused, kErrNotAllowed, kFALSE, kROOTD_AUTH, kROOTD_ERR, kROOTD_RSAKEY, kROOTD_SRPA, kROOTD_SRPB, kROOTD_SRPG, kROOTD_SRPN, kROOTD_SRPRESPONSE, kROOTD_SRPSALT, kROOTD_SRPUSER, TAuthenticate::kSRP, kTRUE, out, TAuthenticate::PromptPasswd(), TAuthenticate::PromptUser(), TSocket::Recv(), result(), TAuthenticate::SecureRecv(), TSocket::Send(), TAuthenticate::SendRSAPublicKey(), TAuthenticate::SetGlobalPasswd(), TAuthenticate::SetGlobalPwHash(), TAuthenticate::SetGlobalSRPPwd(), TAuthenticate::SetGlobalUser(), TAuthenticate::SetSecContext(), SRPCheckSecCtx(), stat, StrDup(), and Warning().
Referenced by SRPAuthInit::SRPAuthInit().
| Int_t SRPCheckSecCtx | ( | const char * | , | |
| TSecContext * | ||||
| ) |
Definition at line 312 of file SRPAuth.cxx.
References TSecContext::GetUser(), and TSecContext::IsActive().
Referenced by SRPAuthenticate().
SRPAuthInit srpauth_init [static] |
Definition at line 36 of file SRPAuth.cxx.
1.5.1