|
LOM2M
0.8.0
|
Functions | |
| int | checkACP (std::list< AccessControlPolicy * > acpList, const String &originator, Operation operation, bool checkSelfPrivileges) |
| int | checkAccessRights (Entity *entity, const RequestPrimitive &req) |
| int checkAccessRights | ( | Entity * | entity, |
| const RequestPrimitive & | req | ||
| ) |
Checks the Access Right based on ACP list of Entity (Permission)
| Entity | : target entity |
| RequestPrimitive | : enables to get the operation and originator |
| int checkACP | ( | std::list< AccessControlPolicy * > | acpList, |
| const String & | originator, | ||
| Operation | operation, | ||
| bool | checkSelfPrivileges = false |
||
| ) |
Checks the Access Right based on ACP list (Permission)
| acp | - Id of the accessRight |
| originator | - requesting entity used by the requester |
| operation | - requested method |