#include <cstdio>#include <cstdlib>#include <cstring>#include <cerrno>#include "XrdVersion.hh"#include "XrdOuc/XrdOucHash.hh"#include "XrdOuc/XrdOucString.hh"#include "XrdOuc/XrdOucTrace.hh"#include "XrdSys/XrdSysError.hh"#include "XrdSys/XrdSysLogger.hh"Go to the source code of this file.
Classes | |
| class | XrdSecgsiMapEntry_t |
Macros | |
| #define | DEBUG(y) |
| #define | EPNAME(x) |
| #define | PRINT(y) |
| #define | TRACE_Authen 0x0002 |
Enumerations | |
| enum | XrdSecgsi_Match { kFull = 0 , kBegins = 1 , kEnds = 2 , kContains = 4 } |
Functions | |
| static int | FindMatchingCondition (const char *, XrdSecgsiMapEntry_t *mc, void *xmp) |
| char * | XrdSecgsiGMAPFun (const char *dn, int now) |
| int | XrdSecgsiGMAPInit (const char *cfg) |
| XrdVERSIONINFO (XrdSecgsiGMAPFun, secgsigmap) | |
Variables | |
| static XrdSysError | dnDest (0, "gmapdn_") |
| static XrdSysLogger | dnLogger |
| static XrdOucTrace * | dnTrace = 0 |
| static XrdOucHash< XrdSecgsiMapEntry_t > | gMappings |
| #define DEBUG | ( | y | ) |
Definition at line 55 of file XrdSecgsiGMAPFunDN.cc.
Referenced by XrdSecgsiGMAPFun(), and XrdSecgsiGMAPInit().
| #define EPNAME | ( | x | ) |
Definition at line 53 of file XrdSecgsiGMAPFunDN.cc.
Referenced by XrdSecgsiGMAPFun(), and XrdSecgsiGMAPInit().
| #define PRINT | ( | y | ) |
Definition at line 54 of file XrdSecgsiGMAPFunDN.cc.
Referenced by XrdSecgsiGMAPInit().
| #define TRACE_Authen 0x0002 |
Definition at line 52 of file XrdSecgsiGMAPFunDN.cc.
| enum XrdSecgsi_Match |
|
static |
Definition at line 91 of file XrdSecgsiGMAPFunDN.cc.
References XrdOucString::beginswith(), XrdOucString::c_str(), XrdOucString::endswith(), XrdOucString::find(), kBegins, kContains, kEnds, XrdOucString::matches(), STR_NPOS, XrdSecgsiMapEntry_t::type, XrdSecgsiMapEntry_t::user, and XrdSecgsiMapEntry_t::val.
| char * XrdSecgsiGMAPFun | ( | const char * | dn, |
| int | now ) |
Definition at line 123 of file XrdSecgsiGMAPFunDN.cc.
References XrdOucString::c_str(), DEBUG, EPNAME, FindMatchingCondition(), gMappings, kFull, XrdOucString::length(), XrdSecgsiMapEntry_t::val, and XrdSecgsiGMAPInit().
Referenced by XrdVERSIONINFO().
| int XrdSecgsiGMAPInit | ( | const char * | cfg | ) |
Definition at line 167 of file XrdSecgsiGMAPFunDN.cc.
References XrdOucString::c_str(), DEBUG, dnDest, dnLogger, dnTrace, EPNAME, fclose(), fopen, gMappings, kBegins, kContains, kEnds, kFull, XrdOucString::length(), PRINT, and TRACE_Authen.
Referenced by XrdSecgsiGMAPFun().
| XrdVERSIONINFO | ( | XrdSecgsiGMAPFun | , |
| secgsigmap | ) |
|
static |
Referenced by XrdSecgsiGMAPInit().
|
static |
Definition at line 49 of file XrdSecgsiGMAPFunDN.cc.
Referenced by XrdSecgsiGMAPInit().
|
static |
Definition at line 50 of file XrdSecgsiGMAPFunDN.cc.
Referenced by XrdSecgsiGMAPInit().
|
static |
Definition at line 84 of file XrdSecgsiGMAPFunDN.cc.
Referenced by XrdSecgsiGMAPFun(), and XrdSecgsiGMAPInit().