xrootd
|
#include <XrdCmsSecurity.hh>
Public Member Functions | |
XrdCmsSecurity () | |
~XrdCmsSecurity () | |
Static Public Member Functions | |
static int | Authenticate (XrdLink *Link, const char *Token, int tlen) |
static int | Configure (const char *Lib, const char *Cfn=0) |
static const char * | getToken (int &size, const char *hostname) |
static int | Identify (XrdLink *Link, XrdCms::CmsRRHdr &inHdr, char *authBuff, int abLen) |
static char * | setSystemID (XrdOucTList *tp, const char *iName, const char *iHost, char iType) |
Static Private Attributes | |
static XrdSecService * | DHS = 0 |
XrdCmsSecurity::XrdCmsSecurity | ( | ) | [inline] |
XrdCmsSecurity::~XrdCmsSecurity | ( | ) | [inline] |
int XrdCmsSecurity::Authenticate | ( | XrdLink * | Link, |
const char * | Token, | ||
int | tlen | ||
) | [static] |
References XrdCmsTalk::Attend(), XrdSecProtocol::Authenticate(), XrdSecBuffer::buffer, XrdSecProtocol::Delete(), XrdSysError::Emsg(), eMsg, XrdSecProtocol::Entity, XrdOucErrInfo::getErrText(), XrdLink::Host(), XrdCms::kYR_xauth, XrdSecEntity::name, XrdLink::Name(), XrdCmsTalk::Request(), XrdCms::CmsRRHdr::rrCode, XrdCms::Say, XrdLink::setID(), and XrdSecBuffer::size.
Referenced by XrdCmsLogin::Admit().
int XrdCmsSecurity::Configure | ( | const char * | Lib, |
const char * | Cfn = 0 |
||
) | [static] |
References dlerror(), dlopen(), dlsym(), XrdSysError::Emsg(), XrdSysError::logger(), RTLD_NOW, XrdCms::Say, XrdCms::secProtocol, and XrdXrootdSecGetProtocol.
Referenced by XrdCmsConfig::setupManager().
const char * XrdCmsSecurity::getToken | ( | int & | size, |
const char * | hostname | ||
) | [static] |
Referenced by XrdCmsLogin::Admit().
int XrdCmsSecurity::Identify | ( | XrdLink * | Link, |
XrdCms::CmsRRHdr & | inHdr, | ||
char * | authBuff, | ||
int | abLen | ||
) | [static] |
References XrdCmsTalk::Attend(), XrdSecBuffer::buffer, XrdSecProtocol::Delete(), XrdSysError::Emsg(), eMsg, XrdSecProtocol::getCredentials(), XrdOucErrInfo::getErrText(), XrdLink::Host(), XrdCms::kYR_xauth, XrdCmsTalk::Request(), XrdCms::CmsRRHdr::rrCode, XrdCms::Say, XrdCms::secProtocol, and XrdSecBuffer::size.
Referenced by XrdCmsLogin::Login().
char * XrdCmsSecurity::setSystemID | ( | XrdOucTList * | tp, |
const char * | iName, | ||
const char * | iHost, | ||
char | iType | ||
) | [static] |
References XrdOucEnv::Export(), XrdOucTList::next, XrdOucTList::text, and XrdOucTList::val.
Referenced by XrdCmsClientConfig::Configure(), and XrdCmsConfig::setupSid().
XrdSecService * XrdCmsSecurity::DHS = 0 [static, private] |