#include <vos/corelibs/vos/accesscontrol.hh>
Inheritance diagram for VOS::VobjectAccessControl:
A policy decides whether a particular action on Vobject is permitted. This class also stores a mapping of text strings to control policies, so that a user may request a policy by name (such as "readonly") rather than having to supply the class directly. This capability can also be used to save access control policies persistantly.
Definition at line 56 of file accesscontrol.hh.
|
Add a new access control policy. This policy will be available as whatever name is returned by ac->getPolicyName().
Definition at line 39 of file accesscontrol.cc. |
|
Add a new access control policy. The difference between this and the other addPolicy method is that a policy factory creates a new policy object each time getPolicy() is called, whereas otherwise the same policy object will be returned each time. This is useful if you want to write an access control policy bound to a specific object that keeps some state about that object.
Definition at line 45 of file accesscontrol.cc. |
|
Called when a type add is requested by a remote object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a remote object wants to listen to the child list of some object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a child insert is requested by a remote object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a remote object wants to listen to the parent set of some object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a child read is requested by a remote object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a parent read is requested by a remote object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a type read is requested by a remote object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a child remove is requested by a remote object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Called when a child replace is requested by a remote object.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. |
|
Get the requested policy given the name and LocalVobject.
Definition at line 51 of file accesscontrol.cc. |
|
Get a short string describing this policy.
Implemented in VOS::NoAccessControl, VOS::ReadOnlyAccessControl, and VOS::LocalOnlyAccessControl. Referenced by addPolicy(). |
|
Remove policy with the given name.
Definition at line 61 of file accesscontrol.cc. |