#include <XrdOucGMap.hh>
|
int | load (const char *mf, bool force=0) |
| Internal methods.
|
|
◆ XrdOucGMap()
◆ ~XrdOucGMap()
virtual XrdOucGMap::~XrdOucGMap |
( |
| ) |
|
|
inlinevirtual |
◆ dn2user()
virtual int XrdOucGMap::dn2user |
( |
const char * |
dn, |
|
|
char * |
user, |
|
|
int |
ulen, |
|
|
time_t |
now = 0 |
|
) |
| |
|
virtual |
Map a distinguished name (dn) to a user name.
- Parameters
-
dn | -> Distinguished name. |
user | -> Buffer where the user name is to be placed. It must end with a null byte. |
ulen | -> The length of the 'user' buffer. |
now | -> Current time (result of time(0)) or 0 if not available. |
- Returns
- Success: Zero. Failure: An errno number describing the failure; typically -EFAULT - No valid matching found. -errno - If problems reloading the file
◆ isValid()
bool XrdOucGMap::isValid |
( |
| ) |
const |
|
inline |
Validity checker.
References valid.
◆ load()
int XrdOucGMap::load |
( |
const char * |
mf, |
|
|
bool |
force = 0 |
|
) |
| |
|
private |
◆ dbg
◆ elogger
◆ mappings
◆ mf_mtime
time_t XrdOucGMap::mf_mtime |
|
private |
◆ mf_name
◆ notafter
time_t XrdOucGMap::notafter |
|
private |
◆ timeout
◆ tracer
◆ valid
◆ xsl
The documentation for this class was generated from the following file: