Classes | Macros
XrdSecEntity.hh File Reference
#include <string.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.


class  XrdSecEntity


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

Macro Definition Documentation

#define XrdSecClientName   XrdSecEntity
#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 protocol object to facilitate mutual authentication. Note that the destructor does nothing and it is the responsibility of the protocol object to delete the XrdSecEntity data members, if need be.

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.

Referenced by XrdSecEntity::Reset(), and XrdSecEntity::XrdSecEntity().

#define XrdSecServerName   XrdSecEntity