51 delete eaAPI->entXtra;
63 {mDest.
Say(Tid,
" Attr ",key,
" = '", val,
"'");
66 AttrCB(
XrdSysError &erp,
const char *tid) : mDest(erp), Tid(tid) {}
71 } displayAttr(mDest,
tident);
77 typedef long long int LLint;
78 typedef long long unsigned int ULint;
87 mDest.
Say(
tident,
" Protocol '", theprot,
"'");
97 mDest.
Say(
tident,
" ueid ", std::to_string((ULint)
ueid).c_str());
98 mDest.
Say(
tident,
" uid ", std::to_string((ULint)
uid).c_str());
99 mDest.
Say(
tident,
" gid ", std::to_string((ULint)
gid).c_str());
110 void XrdSecEntity::Init(
const char *spV)
114 if (spV) strncpy(
prot, spV,
sizeof(
prot)-1);
#define XrdSecPROTOIDSIZE
@ Next
Proceed to the next key-value pair.
void List(XrdSecEntityAttrCB &attrCB)
char * vorg
Entity's virtual organization(s)
const char * pident
Trace identifier (originator)
int credslen
Length of the 'creds' data.
char prox[XrdSecPROTOIDSIZE]
Auth extractor used (e.g. xrdvoms)
XrdNetAddrInfo * addrInfo
Entity's connection details.
XrdSecEntityAttr * eaAPI
non-const API to attributes
const char * tident
Trace identifier always preset.
char prot[XrdSecPROTOIDSIZE]
Auth protocol used (e.g. krb5)
char * caps
Entity's capabilities.
char * creds
Raw entity credentials or cert.
XrdSecMonitor * secMon
If !0 security monitoring enabled.
gid_t gid
Unix gid or 0 if none.
char * grps
Entity's group name(s)
void Reset(const char *spV=0)
XrdSecEntity(const char *spName=0)
uid_t uid
Unix uid or 0 if none.
void * future[2]
Reserved for future expansion.
char * name
Entity's name.
unsigned int ueid
Unique ID of entity instance.
char * role
Entity's role(s)
char * endorsements
Protocol specific endorsements.
void Display(XrdSysError &mDest)
char * moninfo
Information for monitoring.
char * host
Entity's host name dnr dependent.
void Say(const char *text1, const char *text2=0, const char *txt3=0, const char *text4=0, const char *text5=0, const char *txt6=0)