XRootD
Loading...
Searching...
No Matches
XrdVomsgsi.cc File Reference
+ Include dependency graph for XrdVomsgsi.cc:

Go to the source code of this file.

Functions

int XrdSecgsiVOMSFun (XrdSecEntity &ent)
 
int XrdSecgsiVOMSInit (const char *cfg)
 

Function Documentation

◆ XrdSecgsiVOMSFun()

int XrdSecgsiVOMSFun ( XrdSecEntity & ent)

Definition at line 56 of file XrdVomsgsi.cc.

57{
58// Make sure we were initialized. If so, invoke the function and return result.
59//
60 return (vomsFun ? vomsFun->VOMSFun(ent) : -1);
61}

◆ XrdSecgsiVOMSInit()

int XrdSecgsiVOMSInit ( const char * cfg)

Definition at line 72 of file XrdVomsgsi.cc.

73{
74 static XrdSysLogger gLogger;
75 static XrdSysError gDest(&gLogger, "XrdVoms");
76
77// Allocate a new Voms object
78//
79 vomsFun = new XrdVomsFun(gDest);
80
81// Initialize it. There is no error return to speak of.
82//
83 return vomsFun->VOMSInit(cfg);
84}