#include <AccessControl.H>
Inheritance diagram for AccessControl::IdentityRep:


Public Types | |
| enum | Flavor { unix_flavor, global, gssapi, nflavors = 3, unspecified = 255 } |
Public Member Functions | |
| virtual const char * | user (int n=0) throw () |
| virtual const char * | group (int n=0) throw () |
| virtual uid_t | toUnixUser ()=0 throw () |
| virtual gid_t | toUnixGroup ()=0 throw () |
| bool | userMatch (const char *name) throw () |
| bool | groupMatch (const char *name) throw () |
| bool | userMatch (const char *aname, VestaAttribs attribs) throw () |
| bool | groupMatch (const char *aname, VestaAttribs attribs) throw () |
| virtual bool | operator== (const IdentityRep &other) const=0 throw () |
| bool | operator!= (const IdentityRep &other) const throw () |
| virtual void | send (SRPC *srpc) const=0 throw (SRPC::failure) |
| virtual | ~IdentityRep () |
Public Attributes | |
| Flavor | flavor |
| sockaddr_in | origin |
| bool | readOnly |
Protected Member Functions | |
| virtual void | fill_caches ()=0 throw () |
| IdentityRep () | |
Protected Attributes | |
| CharsSeq * | users_cache |
| CharsSeq * | groups_cache |
Definition at line 54 of file AccessControl.H.
Definition at line 66 of file AccessControl.H.
| AccessControl::IdentityRep::IdentityRep | ( | ) | [inline, protected] |
Definition at line 59 of file AccessControl.H.
| AccessControl::IdentityRep::~IdentityRep | ( | ) | [virtual] |
| virtual void AccessControl::IdentityRep::fill_caches | ( | ) | throw () [protected, pure virtual] |
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep.
| const char * AccessControl::IdentityRep::user | ( | int | n = 0 |
) | throw () [virtual] |
Reimplemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep.
Definition at line 232 of file AccessControlClient.C.
Referenced by AccessControl::UnixIdentityRep::user(), and AccessControl::GlobalIdentityRep::user().
Here is the caller graph for this function:

| const char * AccessControl::IdentityRep::group | ( | int | n = 0 |
) | throw () [virtual] |
Reimplemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep.
Definition at line 243 of file AccessControlClient.C.
Referenced by AccessControl::UnixIdentityRep::group(), and AccessControl::GlobalIdentityRep::group().
Here is the caller graph for this function:

| virtual uid_t AccessControl::IdentityRep::toUnixUser | ( | ) | throw () [pure virtual] |
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep.
| virtual gid_t AccessControl::IdentityRep::toUnixGroup | ( | ) | throw () [pure virtual] |
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep.
| bool AccessControl::IdentityRep::userMatch | ( | const char * | name | ) | throw () |
Definition at line 1707 of file AccessControl.C.
| bool AccessControl::IdentityRep::groupMatch | ( | const char * | name | ) | throw () |
Definition at line 1718 of file AccessControl.C.
| bool AccessControl::IdentityRep::userMatch | ( | const char * | aname, | |
| VestaAttribs | attribs | |||
| ) | throw () |
Definition at line 1729 of file AccessControl.C.
| bool AccessControl::IdentityRep::groupMatch | ( | const char * | aname, | |
| VestaAttribs | attribs | |||
| ) | throw () |
Definition at line 1741 of file AccessControl.C.
| virtual bool AccessControl::IdentityRep::operator== | ( | const IdentityRep & | other | ) | const throw () [pure virtual] |
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep.
| bool AccessControl::IdentityRep::operator!= | ( | const IdentityRep & | other | ) | const throw () [inline] |
Definition at line 105 of file AccessControl.H.
| virtual void AccessControl::IdentityRep::send | ( | SRPC * | srpc | ) | const throw (SRPC::failure) [pure virtual] |
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep.
CharsSeq* AccessControl::IdentityRep::users_cache [protected] |
Definition at line 56 of file AccessControl.H.
Referenced by AccessControl::UnixIdentityRep::fill_caches(), AccessControl::GlobalIdentityRep::fill_caches(), AccessControl::UnixIdentityRep::validate(), and ~IdentityRep().
CharsSeq * AccessControl::IdentityRep::groups_cache [protected] |
Definition at line 56 of file AccessControl.H.
Referenced by AccessControl::UnixIdentityRep::fill_caches(), AccessControl::GlobalIdentityRep::fill_caches(), and ~IdentityRep().
Definition at line 68 of file AccessControl.H.
| sockaddr_in AccessControl::IdentityRep::origin |
Definition at line 71 of file AccessControl.H.
Definition at line 82 of file AccessControl.H.
1.5.1