xrootd
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdSecsssEnt Class Reference

#include <XrdSecsssEnt.hh>

Collaboration diagram for XrdSecsssEnt:
Collaboration graph
[legend]

Public Member Functions

void AddContact (const std::string &hostID)
 
void Delete ()
 Delete this entity object.
 
int RR_Data (char *&dP, const char *hostIP, int dataOpts)
 
void Ref ()
 
void UnRef ()
 
 XrdSecsssEnt (const XrdSecEntity *entity=0, bool defer=false)
 

Static Public Member Functions

static void setHostName (const char *hnP)
 

Public Attributes

char * eData
 
int iLen
 
int tLen
 

Static Public Attributes

static const int addExtra = 0x00000001
 Add v2 data.
 
static const int addCreds = 0x00000002
 Add v2 data plus creds.
 
static const int v2Client = 0x00000003
 Data for a v2 client wanted.
 

Private Member Functions

 ~XrdSecsssEnt ()
 Destructor cannot be directly called; use Delete() instead.
 
bool Serialize ()
 

Private Attributes

XrdSysMutex eMtx
 
std::set< std::string > Contacts
 
const XrdSecEntityeP
 
int refCnt
 
short credLen
 

Static Private Attributes

static char * myHostName
 
static int myHostNLen
 

Constructor & Destructor Documentation

◆ XrdSecsssEnt()

XrdSecsssEnt::XrdSecsssEnt ( const XrdSecEntity entity = 0,
bool  defer = false 
)
inline

References Serialize().

◆ ~XrdSecsssEnt()

XrdSecsssEnt::~XrdSecsssEnt ( )
inlineprivate

Destructor cannot be directly called; use Delete() instead.

References eData.

Member Function Documentation

◆ AddContact()

void XrdSecsssEnt::AddContact ( const std::string &  hostID)

Add a new connection created by this entity.

Parameters
hostID- The hostID (i.e. user[:pswd]@host:port).

◆ Delete()

void XrdSecsssEnt::Delete ( )

Delete this entity object.

◆ Ref()

void XrdSecsssEnt::Ref ( )
inline

References AtomicBeg, AtomicEnd, AtomicInc, eMtx, and refCnt.

◆ RR_Data()

int XrdSecsssEnt::RR_Data ( char *&  dP,
const char *  hostIP,
int  dataOpts 
)

◆ Serialize()

bool XrdSecsssEnt::Serialize ( )
private

Referenced by XrdSecsssEnt().

◆ setHostName()

static void XrdSecsssEnt::setHostName ( const char *  hnP)
static

◆ UnRef()

void XrdSecsssEnt::UnRef ( )
inline

References AtomicBeg, AtomicDec, AtomicEnd, eMtx, and refCnt.

Member Data Documentation

◆ addCreds

const int XrdSecsssEnt::addCreds = 0x00000002
static

Add v2 data plus creds.

◆ addExtra

const int XrdSecsssEnt::addExtra = 0x00000001
static

Add v2 data.

Return serialized entity infrmation.

Parameters
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
Returns
The length of the structure pointed to by dP; zero if not found.

◆ Contacts

std::set<std::string> XrdSecsssEnt::Contacts
private

◆ credLen

short XrdSecsssEnt::credLen
private

◆ eData

char* XrdSecsssEnt::eData

Referenced by ~XrdSecsssEnt().

◆ eMtx

XrdSysMutex XrdSecsssEnt::eMtx
private

Referenced by Ref(), and UnRef().

◆ eP

const XrdSecEntity* XrdSecsssEnt::eP
private

◆ iLen

int XrdSecsssEnt::iLen

◆ myHostName

char* XrdSecsssEnt::myHostName
staticprivate

◆ myHostNLen

int XrdSecsssEnt::myHostNLen
staticprivate

◆ refCnt

int XrdSecsssEnt::refCnt
private

Referenced by Ref(), and UnRef().

◆ tLen

int XrdSecsssEnt::tLen

◆ v2Client

const int XrdSecsssEnt::v2Client = 0x00000003
static

Data for a v2 client wanted.


The documentation for this class was generated from the following file: