XRootD
Loading...
Searching...
No Matches
XrdSecPManager.hh File Reference
+ Include dependency graph for XrdSecPManager.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XrdSecPManager
 

Macros

#define PROTPARMS
 

Typedefs

typedef int XrdSecPMask_t
 

Macro Definition Documentation

◆ PROTPARMS

#define PROTPARMS
Value:
const char, const char *, XrdNetAddrInfo &, \
const char *, XrdOucErrInfo *

Definition at line 44 of file XrdSecPManager.hh.

47{
48public:
49
50XrdSecPMask_t Find(const char *pid, // In
51 char **parg=0); // Out
52
53XrdSecProtocol *Get(const char *hname,
54 XrdNetAddrInfo &endPoint,
55 const char *pname,
56 XrdOucErrInfo *erp);
57
58XrdSecProtocol *Get(const char *hname,
59 XrdNetAddrInfo &netaddr,
60 XrdSecParameters &secparm)
61 {return Get(hname, netaddr, secparm, (XrdOucErrInfo *)0);}
62
63XrdSecProtocol *Get(const char *hname,
64 XrdNetAddrInfo &netaddr,
65 XrdSecParameters &secparm,
66 XrdOucErrInfo *erp);
67
68int Load(XrdOucErrInfo *eMsg, // In
69 const char pmode, // In 'c' | 's'
70 const char *pid, // In
71 const char *parg, // In
72 const char *path) // In
73 {return (0 != ldPO(eMsg, pmode, pid, parg, path));}
74
75void setDebug(int dbg) {DebugON = dbg;}
76
77void setErrP(XrdSysError *eP) {errP = eP;}
78
79const char *protTLS() {return tlsProt;}
80
81 XrdSecPManager(int dbg=0, bool secproxy=false,
82 bool fwdcreds=false)
83 : protnum(1), First(0), Last(0), errP(0),
84 tlsProt(0), DebugON(dbg), isProxy(secproxy),
85 fwdCreds(fwdcreds) {}
87
88private:
89
90XrdSecProtList *Add(XrdOucErrInfo *eMsg, const char *pid,
91 XrdSecProtocol *(*ep)(PROTPARMS), const char *parg);
93 const char pmode, // In 'c' | 's'
94 const char *pid, // In
95 const char *parg=0, // In
96 const char *spath=0);// In
97XrdSecProtList *Lookup(const char *pid);
98
99XrdSecPMask_t protnum;
100XrdSysMutex myMutex;
101XrdSecProtList *First;
102XrdSecProtList *Last;
103XrdSysError *errP;
104char *tlsProt;
105int DebugON;
106bool isProxy;
107bool fwdCreds;
108};
109#endif
int DebugON
int XrdSecPMask_t
#define PROTPARMS
#define eMsg(x)
Generic structure to pass security information back and forth.

Typedef Documentation

◆ XrdSecPMask_t

typedef int XrdSecPMask_t

Definition at line 42 of file XrdSecPManager.hh.