#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 66 of file AccessControl.H. |
|
Definition at line 59 of file AccessControl.H. |
|
Definition at line 217 of file AccessControlClient.C. References groups_cache, and users_cache. |
|
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep. |
|
Reimplemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep. Definition at line 243 of file AccessControlClient.C. Referenced by AccessControl::UnixIdentityRep::group(), and AccessControl::GlobalIdentityRep::group(). |
|
Definition at line 1653 of file AccessControl.C. |
|
Definition at line 1630 of file AccessControl.C. |
|
Definition at line 105 of file AccessControl.H. |
|
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep. |
|
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep. |
|
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep. |
|
Implemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep. |
|
Reimplemented in AccessControl::GlobalIdentityRep, and AccessControl::UnixIdentityRep. Definition at line 232 of file AccessControlClient.C. Referenced by AccessControl::UnixIdentityRep::user(), and AccessControl::GlobalIdentityRep::user(). |
|
Definition at line 1641 of file AccessControl.C. |
|
Definition at line 1619 of file AccessControl.C. |
|
Definition at line 68 of file AccessControl.H. |
|
Definition at line 56 of file AccessControl.H. Referenced by AccessControl::UnixIdentityRep::fill_caches(), AccessControl::GlobalIdentityRep::fill_caches(), and ~IdentityRep(). |
|
Definition at line 71 of file AccessControl.H. |
|
Definition at line 82 of file AccessControl.H. |
|
Definition at line 56 of file AccessControl.H. Referenced by AccessControl::UnixIdentityRep::fill_caches(), AccessControl::GlobalIdentityRep::fill_caches(), AccessControl::UnixIdentityRep::validate(), and ~IdentityRep(). |