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

AccessControl::GlobalIdentityRep Class Reference

#include <AccessControl.H>

Inheritance diagram for AccessControl::GlobalIdentityRep:

AccessControl::IdentityRep List of all members.

Public Member Functions

 GlobalIdentityRep (const char *u=NULL, const sockaddr_in *o=NULL) throw ()
const char * user (int n=0) throw ()
const char * group (int n=0) throw ()
uid_t toUnixUser () throw ()
gid_t toUnixGroup () throw ()
bool operator== (const IdentityRep &other) const throw ()
void send (SRPC *srpc) const throw (SRPC::failure)
 ~GlobalIdentityRep ()

Protected Member Functions

void fill_caches () throw ()

Protected Attributes

const char * user_

Constructor & Destructor Documentation

AccessControl::GlobalIdentityRep::GlobalIdentityRep const char *  u = NULL,
const sockaddr_in *  o = NULL
throw ()
 

Definition at line 254 of file AccessControlClient.C.

References Text::cchars(), AccessControl::commonInit(), OS::getPwUid(), Text::Length(), OS::Passwd::name, NEW_PTRFREE_ARRAY, AccessControl::realm, and AccessControl::realmlen.

AccessControl::GlobalIdentityRep::~GlobalIdentityRep  ) 
 

Definition at line 311 of file AccessControlClient.C.

References user_.


Member Function Documentation

void AccessControl::GlobalIdentityRep::fill_caches  )  throw () [protected, virtual]
 

Implements AccessControl::IdentityRep.

Definition at line 1174 of file AccessControl.C.

References ReadersWritersLock::acquireRead(), Sequence< Elem, elem_ptrfree >::addlo(), Table< K, V >::Default::Get(), AccessControl::IdentityRep::groups_cache, NEW_CONSTR, ReadersWritersLock::releaseRead(), RWLOCK_LOCKED_REASON, user_, userGroup_lock, and AccessControl::IdentityRep::users_cache.

const char * AccessControl::GlobalIdentityRep::group int  n = 0  )  throw () [virtual]
 

Reimplemented from AccessControl::IdentityRep.

Definition at line 1169 of file AccessControl.C.

References AccessControl::IdentityRep::group().

Referenced by toUnixGroup().

bool AccessControl::GlobalIdentityRep::operator== const IdentityRep other  )  const throw () [virtual]
 

Implements AccessControl::IdentityRep.

Definition at line 286 of file AccessControlClient.C.

References user_.

void AccessControl::GlobalIdentityRep::send SRPC srpc  )  const throw (SRPC::failure) [virtual]
 

Implements AccessControl::IdentityRep.

Definition at line 304 of file AccessControlClient.C.

gid_t AccessControl::GlobalIdentityRep::toUnixGroup  )  throw () [inline, virtual]
 

Implements AccessControl::IdentityRep.

Definition at line 127 of file AccessControl.H.

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

uid_t AccessControl::GlobalIdentityRep::toUnixUser  )  throw () [inline, virtual]
 

Implements AccessControl::IdentityRep.

Definition at line 126 of file AccessControl.H.

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

const char * AccessControl::GlobalIdentityRep::user int  n = 0  )  throw () [virtual]
 

Reimplemented from AccessControl::IdentityRep.

Definition at line 1160 of file AccessControl.C.

References AccessControl::IdentityRep::user().

Referenced by toUnixUser().


Member Data Documentation

const char* AccessControl::GlobalIdentityRep::user_ [protected]
 

Definition at line 117 of file AccessControl.H.

Referenced by fill_caches(), operator==(), and ~GlobalIdentityRep().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:07 2006 for Vesta by  doxygen 1.4.2