XRootD
XrdVomsHttp.cc File Reference

This code is based on the basic architecture shown in. More...

#include "XrdVomsFun.hh"
#include "XrdVersion.hh"
#include "XrdHttp/XrdHttpSecXtractor.hh"
#include "XrdSec/XrdSecInterface.hh"
#include "XrdVoms.hh"
+ Include dependency graph for XrdVomsHttp.cc:

Go to the source code of this file.

Classes

class  XrdVomsHttp
 

Functions

XrdHttpSecXtractor * XrdHttpGetSecXtractor (XrdHttpSecXtractorArgs)
 

Detailed Description

This code is based on the basic architecture shown in.

Author
Fabrizio Furano
Date
November 2013

Definition in file XrdVomsHttp.cc.

Function Documentation

◆ XrdHttpGetSecXtractor()

XrdHttpSecXtractor* XrdHttpGetSecXtractor ( XrdHttpSecXtractorArgs  )

Definition at line 124 of file XrdVomsHttp.cc.

125 {
126 
127 // First step it get a new VomsFun object
128 //
129  XrdVomsFun *vomsFun = new XrdVomsFun(*eDest);
130 
131 // Initialize it using the parameters supplied
132 //
133  if (vomsFun->VOMSInit(parms) < 0)
134  {delete vomsFun;
135  return 0;
136  }
137 
138 // We will always use a stack of x509 certs, make sure that is what the
139 // voms fund will actually think it wants.
140 //
142 
143 // Now return the interface object
144 //
145  return (XrdHttpSecXtractor *)new XrdVomsHttp(eDest, *vomsFun);
146 }
XrdSysError eDest(0, "HttpMon")
void SetCertFmt(CertFormat n)
Definition: XrdVomsFun.hh:55
int VOMSInit(const char *cfg)
Definition: XrdVomsFun.cc:387

References eDest, XrdVomsFun::gCertX509, XrdVomsFun::SetCertFmt(), and XrdVomsFun::VOMSInit().

+ Here is the call graph for this function: