|
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 void | setSecFunc (void *secfP) |
| 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 XrdCms::kYR_xauth, eMsg, XrdCmsTalk::Request(), XrdCms::Say, XrdSysError::Emsg(), XrdLink::Host(), XrdCmsTalk::Attend(), XrdCms::CmsRRHdr::rrCode, XrdLink::Name(), XrdOucErrInfo::getErrText(), XrdSecProtocol::Authenticate(), XrdSecBuffer::buffer, XrdSecBuffer::size, XrdSecProtocol::Entity, XrdSecEntity::name, XrdLink::setID(), and XrdSecProtocol::Delete().
Referenced by XrdCmsLogin::Admit().
| int XrdCmsSecurity::Configure | ( | const char * | Lib, |
| const char * | Cfn = 0 |
||
| ) | [static] |
References XrdCms::Sec, XrdCms::SecFunc::getProtocol, dlopen(), RTLD_NOW, XrdCms::Say, XrdSysError::Emsg(), dlerror(), dlsym(), and XrdSysError::logger().
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 XrdCms::kYR_xauth, XrdLink::Host(), eMsg, XrdCms::Sec, XrdCms::SecFunc::getProtocol, XrdCms::Say, XrdSysError::Emsg(), XrdSecBuffer::buffer, XrdSecBuffer::size, XrdOucErrInfo::getErrText(), XrdSecProtocol::getCredentials(), XrdCmsTalk::Request(), XrdCmsTalk::Attend(), XrdCms::CmsRRHdr::rrCode, and XrdSecProtocol::Delete().
Referenced by XrdCmsLogin::Login().
| void XrdCmsSecurity::setSecFunc | ( | void * | secfP | ) | [static] |
References XrdCms::Sec, and XrdCms::SecFunc::ProtFunc.
Referenced by XrdCmsFinderRMT::Configure().
| char * XrdCmsSecurity::setSystemID | ( | XrdOucTList * | tp, |
| const char * | iName, | ||
| const char * | iHost, | ||
| char | iType | ||
| ) | [static] |
References XrdOucTList::text, XrdOucTList::next, XrdOucTList::val, and XrdOucEnv::Export().
Referenced by XrdCmsClientConfig::Configure(), and XrdCmsConfig::setupSid().
XrdSecService * XrdCmsSecurity::DHS = 0 [static, private] |
1.7.5