![]() |
XRootD
|
#include <XrdSecsssEnt.hh>
Public Member Functions | |
XrdSecsssEnt (const XrdSecEntity *entity=0, bool defer=false) | |
void | AddContact (const std::string &hostID) |
void | Delete () |
Delete this entity object. More... | |
void | Ref () |
int | RR_Data (char *&dP, const char *hostIP, int dataOpts) |
void | UnRef () |
Static Public Member Functions | |
static void | setHostName (const char *hnP) |
Public Attributes | |
char * | eData |
int | iLen |
int | tLen |
Static Public Attributes | |
static const int | addCreds = 0x00000002 |
Add v2 data plus creds. More... | |
static const int | addExtra = 0x00000001 |
Add v2 data. More... | |
static const int | v2Client = 0x00000003 |
Data for a v2 client wanted. More... | |
Definition at line 42 of file XrdSecsssEnt.hh.
|
inline |
Definition at line 95 of file XrdSecsssEnt.hh.
void XrdSecsssEnt::AddContact | ( | const std::string & | hostID | ) |
Add a new connection created by this entity.
hostID | - The hostID (i.e. user[:pswd]@host:port). |
Definition at line 85 of file XrdSecsssEnt.cc.
References XrdSecsssMap::conTrack.
void XrdSecsssEnt::Delete | ( | ) |
Delete this entity object.
Definition at line 97 of file XrdSecsssEnt.cc.
References XrdSecsssCon::Cleanup(), and XrdSecsssMap::conTrack.
Referenced by XrdSecsssID::Register().
|
inline |
Definition at line 84 of file XrdSecsssEnt.hh.
int XrdSecsssEnt::RR_Data | ( | char *& | dP, |
const char * | hostIP, | ||
int | dataOpts | ||
) |
Definition at line 112 of file XrdSecsssEnt.cc.
References XrdNetPMarkConfig::myHostName, XrdOucPup::Pack(), XrdSecsssRR_Data::theHost, and XrdSecsssRR_Data_HdrLen.
|
static |
Definition at line 313 of file XrdSecsssEnt.cc.
References XrdNetPMarkConfig::myHostName, XrdOucPup::Pack(), and XrdSecsssRR_Data::theHost.
Referenced by XrdSecProtocolsss::Load_Client().
|
inline |
Definition at line 86 of file XrdSecsssEnt.hh.
|
static |
Add v2 data plus creds.
Definition at line 78 of file XrdSecsssEnt.hh.
Referenced by XrdSecProtocolsss::Init_Client().
|
static |
Add v2 data.
Return serialized entity infrmation.
dP | - Reference to a pointer where the serialized ID is returned. The caller is responsible for freeing the storage. |
myIP | - Pointer to IP address of client. |
opts | - Options as follows: addExtra - This is a V2 client, include extra info addCreds - This is a V2 client, add credentials to extra |
Definition at line 77 of file XrdSecsssEnt.hh.
Referenced by XrdSecProtocolsss::Init_Client().
char* XrdSecsssEnt::eData |
Definition at line 46 of file XrdSecsssEnt.hh.
int XrdSecsssEnt::iLen |
Definition at line 47 of file XrdSecsssEnt.hh.
int XrdSecsssEnt::tLen |
Definition at line 48 of file XrdSecsssEnt.hh.
|
static |
Data for a v2 client wanted.
Definition at line 79 of file XrdSecsssEnt.hh.