XRootD
Loading...
Searching...
No Matches
XrdSecEntity.hh File Reference
#include <sys/types.h>
Include dependency graph for XrdSecEntity.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdSecEntity

Macros

#define XrdSecClientName   XrdSecEntity
#define XrdSecPROTOIDSIZE   8
#define XrdSecServerName   XrdSecEntity

Macro Definition Documentation

◆ XrdSecClientName

◆ XrdSecPROTOIDSIZE

#define XrdSecPROTOIDSIZE   8

This object is returned during authentication. This is most relevant for client authentication unless mutual authentication has been implemented in which case the client can also authenticate the server. It is embeded in each security protocol object to facilitate mutual authentication. Note that the destructor does nothing and it is the responsibility of the security protocol object to delete the public XrdSecEntity data members.

Note: The host member contents are depdent on the dnr/nodnr setting and and contain a host name or an IP address. To get the real host name use addrInfo->Name(), this is required for any hostname comparisons.

Definition at line 47 of file XrdSecEntity.hh.

Referenced by XrdSecProtList::XrdSecProtList(), XrdSutBuffer::XrdSutBuffer(), XrdOfsTPC::AddAuth(), XrdAccAccess::Audit(), XrdSecProtocolsss::Authenticate(), XrdSecEntity::Display(), XrdSecPManager::Get(), and XrdSecProtector::New4Server().

◆ XrdSecServerName

#define XrdSecServerName   XrdSecEntity

Definition at line 125 of file XrdSecEntity.hh.