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

SecurityManager Class Reference

List of all members.

Public Member Functions

int getErrorFileName (const char *sysDir, int error, string &out, XmlParser *parser=0)
int getPermissionMask (SecurityToken *st, XmlParser *parser=0)
 SecurityManager ()
 ~SecurityManager ()

Constructor & Destructor Documentation

SecurityManager::SecurityManager  ) 
 

Create the object.

SecurityManager::~SecurityManager  ) 
 

Destroy the SecurityManager object.


Member Function Documentation

int SecurityManager::getErrorFileName const char *  sysDir,
int  error,
string &  out,
XmlParser parser = 0
 

Get the error file for a site. Return 0 to use the default one. Return -1 on errors. Return other valus on success.

int SecurityManager::getPermissionMask SecurityToken st,
XmlParser parser = 0
 

Get the permissions mask for the file[filename]. The file [directory]/security will be parsed. If a [parser] is specified, it will be used instead of opening the security file. [providedMask] is the permission mask that the [user] will have if providing a [requiredPassword]. Returns -1 on errors.


Generated on Mon Jun 16 13:47:19 2008 for MyServer by  doxygen 1.3.9.1