Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

AccessControl.C File Reference

#include "AccessControl.H"
#include "Recovery.H"
#include "VestaConfig.H"
#include "CharsKey.H"
#include "logging.H"
#include "ReadersWritersLock.H"
#include <pwd.h>
#include <grp.h>
#include <time.h>
#include "lock_timing.H"

Go to the source code of this file.

Defines

#define MAXNAMELEN   256
#define MAXNAMELEN   256
#define TRY_AGAIN_LIMIT   10

Typedefs

typedef Table< CharsKey, unsigned
int >::Default 
CharsToUIntTable
typedef Table< CharsKey, unsigned
int >::Iterator 
CharsToUIntIter
typedef Table< UIntKey, const
char * >::Default 
UIntToCharsTable
typedef Table< UIntKey, const
char * >::Iterator 
UIntToCharsIter
typedef Table< UIntKey, CharsSeq
* >::Default 
UIntToCharsSeqTable
typedef Table< UIntKey, CharsSeq
* >::Iterator 
UIntToCharsSeqIter
typedef Table< CharsKey, CharsSeq
* >::Default 
CharsToCharsSeqTable
typedef Table< CharsKey, CharsSeq
* >::Iterator 
CharsToCharsSeqIter
typedef Table< ExportKey,
Export * >::Default 
ExportCache
typedef Table< ExportKey,
Export * >::Iterator 
ExportCacheIter

Functions

bool toUnixUserCallback (void *closure, const char *value)
bool toUnixGroupCallback (void *closure, const char *value)

Variables

const char * vestaGroupFile = NULL
const char * vestaAliasFile = NULL
const char * vestaExportFile = NULL
ReadersWritersLock userGroup_lock (true)
ReadersWritersLock export_lock (true)
unsigned int exportEpoch = 0


Define Documentation

#define MAXNAMELEN   256
 

Definition at line 256 of file AccessControl.C.

#define MAXNAMELEN   256
 

Definition at line 256 of file AccessControl.C.

#define TRY_AGAIN_LIMIT   10
 

Definition at line 1862 of file AccessControl.C.


Typedef Documentation

typedef Table<CharsKey, CharsSeq*>::Iterator CharsToCharsSeqIter
 

Definition at line 55 of file AccessControl.C.

typedef Table<CharsKey, CharsSeq*>::Default CharsToCharsSeqTable
 

Definition at line 54 of file AccessControl.C.

typedef Table<CharsKey, unsigned int>::Iterator CharsToUIntIter
 

Definition at line 49 of file AccessControl.C.

typedef Table<CharsKey, unsigned int>::Default CharsToUIntTable
 

Definition at line 48 of file AccessControl.C.

typedef Table<ExportKey, Export*>::Default ExportCache
 

Definition at line 92 of file AccessControl.C.

typedef Table<ExportKey, Export*>::Iterator ExportCacheIter
 

Definition at line 93 of file AccessControl.C.

typedef Table<UIntKey, const char*>::Iterator UIntToCharsIter
 

Definition at line 51 of file AccessControl.C.

typedef Table<UIntKey, CharsSeq*>::Iterator UIntToCharsSeqIter
 

Definition at line 53 of file AccessControl.C.

typedef Table<UIntKey, CharsSeq*>::Default UIntToCharsSeqTable
 

Definition at line 52 of file AccessControl.C.

typedef Table<UIntKey, const char*>::Default UIntToCharsTable
 

Definition at line 50 of file AccessControl.C.


Function Documentation

bool toUnixGroupCallback void *  closure,
const char *  value
 

Definition at line 1598 of file AccessControl.C.

References AccessControl::globalToUnixGroup(), and AccessControl::realm.

Referenced by AccessControl::toUnixGroup().

bool toUnixUserCallback void *  closure,
const char *  value
 

Definition at line 1577 of file AccessControl.C.

References AccessControl::globalToUnixUser(), and AccessControl::realm.

Referenced by AccessControl::toUnixUser().


Variable Documentation

ReadersWritersLock export_lock(true)
 

Referenced by AccessControl::admit().

unsigned int exportEpoch = 0
 

Definition at line 118 of file AccessControl.C.

Referenced by AccessControl::admit().

ReadersWritersLock userGroup_lock(true)
 

Referenced by AccessControl::UnixIdentityRep::fill_caches(), AccessControl::GlobalIdentityRep::fill_caches(), AccessControl::globalToUnixGroup(), AccessControl::globalToUnixUser(), AccessControl::unixToGlobalGroup(), and AccessControl::unixToGlobalUser().

const char* vestaAliasFile = NULL
 

Definition at line 101 of file AccessControl.C.

Referenced by AccessControl::serverInit().

const char* vestaExportFile = NULL
 

Definition at line 102 of file AccessControl.C.

Referenced by AccessControl::serverInit().

const char* vestaGroupFile = NULL
 

Definition at line 100 of file AccessControl.C.

Referenced by AccessControl::serverInit().


Generated on Mon May 8 00:49:03 2006 for Vesta by  doxygen 1.4.2