![]() |
XRootD
|
#include <unistd.h>
#include <cctype>
#include <cerrno>
#include <cstdlib>
#include <strings.h>
#include <cstdio>
#include <sys/param.h>
#include <pwd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "krb5.h"
#include "com_err.h"
#include "XrdVersion.hh"
#include "XrdNet/XrdNetAddrInfo.hh"
#include "XrdNet/XrdNetUtils.hh"
#include "XrdOuc/XrdOucErrInfo.hh"
#include "XrdOuc/XrdOucEnv.hh"
#include "XrdSys/XrdSysHeaders.hh"
#include "XrdSys/XrdSysPthread.hh"
#include "XrdSys/XrdSysPwd.hh"
#include "XrdOuc/XrdOucTokenizer.hh"
#include "XrdSec/XrdSecInterface.hh"
Go to the source code of this file.
Classes | |
class | XrdSecProtocolkrb5 |
Macros | |
#define | CLDBG(x) |
#define | CLPRT(x) |
#define | krb_etxt(x) |
#define | XrdSecDEBUG 0x1000 |
#define | XrdSecEXPTKN 0x0002 |
#define | XrdSecINITTKN 0x0004 |
#define | XrdSecMAXPATHLEN 4096 |
#define | XrdSecNOIPCHK 0x0001 |
#define | XrdSecPROTOIDENT "krb5" |
#define | XrdSecPROTOIDLEN sizeof(XrdSecPROTOIDENT) |
Typedefs | |
typedef krb5_error_code | krb_rc |
Functions | |
void | __eprintf (const char *string, const char *expression, unsigned int line, const char *filename) |
char * | XrdSecProtocolkrb5Init (const char mode, const char *parms, XrdOucErrInfo *erp) |
XrdSecProtocol * | XrdSecProtocolkrb5Object (const char mode, const char *hostname, XrdNetAddrInfo &endPoint, const char *parms, XrdOucErrInfo *erp) |
#define CLDBG | ( | x | ) |
Definition at line 81 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::Authenticate(), XrdSecProtocolsss::Authenticate(), XrdSecProtocolsss::Fatal(), XrdSecProtocolkrb5::getCredentials(), XrdSecProtocolsss::getCredentials(), XrdSecProtocolsss::Init_Client(), XrdSecProtocolsss::Load_Client(), and XrdSecProtocolsss::Load_Server().
#define CLPRT | ( | x | ) |
Definition at line 82 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::getCredentials(), and XrdSecProtocolkrb5::Init().
#define krb_etxt | ( | x | ) |
Definition at line 70 of file XrdSecProtocolkrb5.cc.
#define XrdSecDEBUG 0x1000 |
Definition at line 77 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5Init().
#define XrdSecEXPTKN 0x0002 |
Definition at line 75 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::Authenticate(), XrdSecProtocolkrb5::getCredentials(), and XrdSecProtocolkrb5Init().
#define XrdSecINITTKN 0x0004 |
Definition at line 76 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::getCredentials(), and XrdSecProtocolkrb5Init().
#define XrdSecMAXPATHLEN 4096 |
Definition at line 79 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::setExpFile().
#define XrdSecNOIPCHK 0x0001 |
Definition at line 74 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::Authenticate(), and XrdSecProtocolkrb5Init().
#define XrdSecPROTOIDENT "krb5" |
Definition at line 72 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::Authenticate(), and XrdSecProtocolkrb5::getCredentials().
#define XrdSecPROTOIDLEN sizeof(XrdSecPROTOIDENT) |
Definition at line 73 of file XrdSecProtocolkrb5.cc.
Referenced by XrdSecProtocolkrb5::Authenticate(), and XrdSecProtocolkrb5::getCredentials().
typedef krb5_error_code krb_rc |
Definition at line 84 of file XrdSecProtocolkrb5.cc.
void __eprintf | ( | const char * | string, |
const char * | expression, | ||
unsigned int | line, | ||
const char * | filename ) |
Definition at line 1044 of file XrdSecProtocolkrb5.cc.
References fflush().
char * XrdSecProtocolkrb5Init | ( | const char | mode, |
const char * | parms, | ||
XrdOucErrInfo * | erp ) |
Definition at line 877 of file XrdSecProtocolkrb5.cc.
References XrdOucTokenizer::GetLine(), XrdSecProtocolkrb5::getPrincipal(), XrdOucTokenizer::GetToken(), XrdSecProtocolkrb5::Init(), XrdNetUtils::MyHostName(), opts, XrdSecProtocolkrb5::setClientOpts(), XrdOucErrInfo::setErrInfo(), XrdSecProtocolkrb5::setExpFile(), XrdSecProtocolkrb5::setOpts(), XrdSecProtocolkrb5::setParms(), strlcpy(), XrdSecDEBUG, XrdSecEXPTKN, XrdSecINITTKN, and XrdSecNOIPCHK.
XrdSecProtocol * XrdSecProtocolkrb5Object | ( | const char | mode, |
const char * | hostname, | ||
XrdNetAddrInfo & | endPoint, | ||
const char * | parms, | ||
XrdOucErrInfo * | erp ) |
Definition at line 1006 of file XrdSecProtocolkrb5.cc.
References XrdOucErrInfo::setErrInfo().