#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 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(), DHS, XrdSecProtocol::Entity, XrdOucErrInfo::getErrText(), XrdSecService::getProtocol(), XrdLink::Host(), XrdCms::kYR_xauth, XrdSecEntity::name, XrdLink::Name(), XrdCmsTalk::Request(), XrdCms::CmsRRHdr::rrCode, Say, XrdLink::setID(), and XrdSecBuffer::size.
Referenced by XrdCmsLogin::Admit().
| int XrdCmsSecurity::Configure | ( | const char * | Lib, | |
| const char * | Cfn = 0 | |||
| ) | [static] |
References DHS, dlerror(), dlopen(), dlsym(), RTLD_NOW, Say, XrdCms::secProtocol, and XrdXrootdSecGetProtocol.
Referenced by Identify(), and XrdCmsConfig::setupManager().
| const char * XrdCmsSecurity::getToken | ( | int & | size, | |
| const char * | hostname | |||
| ) | [static] |
References DHS, and XrdSecService::getParms().
Referenced by XrdCmsLogin::Admit().
| int XrdCmsSecurity::Identify | ( | XrdLink * | Link, | |
| XrdCms::CmsRRHdr & | inHdr, | |||
| char * | authBuff, | |||
| int | abLen | |||
| ) | [static] |
References XrdCmsTalk::Attend(), XrdSecBuffer::buffer, Configure(), XrdSecProtocol::Delete(), XrdSecProtocol::getCredentials(), XrdOucErrInfo::getErrText(), XrdLink::Host(), XrdCms::kYR_xauth, XrdCmsTalk::Request(), XrdCms::CmsRRHdr::rrCode, Say, XrdCms::secProtocol, and XrdSecBuffer::size.
Referenced by XrdCmsLogin::Login().
XrdSecService * XrdCmsSecurity::DHS = 0 [static, private] |
Referenced by Authenticate(), Configure(), and getToken().
1.7.1