G::IdentityUser Class Reference

A convenience class which, when used as a private base, can improve readability when calling Identity 'set' methods. More...

#include <gidentity.h>

Inheritance diagram for G::IdentityUser:

G::Process

List of all members.

Static Protected Member Functions

static void setRealUserTo (Identity, bool do_throw=true)
 Sets the real userid.
static void setEffectiveUserTo (Identity, bool do_throw=true)
 Sets the effective userid.
static void setEffectiveUserTo (SignalSafe, Identity)
 Sets the effective userid.
static void setRealGroupTo (Identity, bool do_throw=true)
 Sets the real group id.
static void setEffectiveGroupTo (Identity, bool do_throw=true)
 Sets the effective group id.
static void setEffectiveGroupTo (SignalSafe, Identity)
 Sets the effective group id.


Detailed Description

A convenience class which, when used as a private base, can improve readability when calling Identity 'set' methods.

Definition at line 109 of file gidentity.h.


Member Function Documentation

void G::IdentityUser::setRealUserTo ( Identity  id,
bool  do_throw = true 
) [static, protected]

Sets the real userid.

Definition at line 143 of file gidentity_unix.cpp.

Referenced by G::Process::beNobody().

void G::IdentityUser::setEffectiveUserTo ( Identity  id,
bool  do_throw = true 
) [static, protected]

Sets the effective userid.

Definition at line 148 of file gidentity_unix.cpp.

Referenced by G::Process::beNobody(), G::Process::beOrdinary(), and G::Process::beSpecial().

void G::IdentityUser::setEffectiveUserTo ( SignalSafe  safe,
Identity  id 
) [static, protected]

Sets the effective userid.

Definition at line 153 of file gidentity_unix.cpp.

void G::IdentityUser::setRealGroupTo ( Identity  id,
bool  do_throw = true 
) [static, protected]

Sets the real group id.

Definition at line 158 of file gidentity_unix.cpp.

Referenced by G::Process::beNobody().

void G::IdentityUser::setEffectiveGroupTo ( Identity  id,
bool  do_throw = true 
) [static, protected]

Sets the effective group id.

Definition at line 163 of file gidentity_unix.cpp.

Referenced by G::Process::beOrdinary(), and G::Process::beSpecial().

void G::IdentityUser::setEffectiveGroupTo ( SignalSafe  safe,
Identity  id 
) [static, protected]

Sets the effective group id.

Definition at line 168 of file gidentity_unix.cpp.


The documentation for this class was generated from the following files:

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5