#include <agentx_request.h>
|
| NoVacm () |
|
virtual | ~NoVacm () |
|
virtual int | isAccessAllowed (const int securityModel, const NS_SNMP OctetStr &securityName, const int securityLevel, const int viewType, const NS_SNMP OctetStr &context, const Oidx &o) |
| Does the user have the rights to access the Oid.
|
|
virtual int | isAccessAllowed (const NS_SNMP OctetStr &viewName, const Oidx &o) |
| Is the oid within the view.
|
|
virtual int | getViewName (const int securityModel, const NS_SNMP OctetStr &securityName, const int securityLevel, const int viewType, const NS_SNMP OctetStr &context, NS_SNMP OctetStr &viewName) |
| Get the view name for the given params.
|
|
virtual NoVacm::~NoVacm |
( |
| ) |
|
|
virtual |
virtual int NoVacm::getViewName |
( |
const int |
securityModel, |
|
|
const NS_SNMP OctetStr & |
securityName, |
|
|
const int |
securityLevel, |
|
|
const int |
viewType, |
|
|
const NS_SNMP OctetStr & |
context, |
|
|
NS_SNMP OctetStr & |
viewName |
|
) |
| |
|
inlinevirtual |
Get the view name for the given params.
- Parameters
-
[in] | securityModel | The security model used |
[in] | securityName | The security name of the user |
[in] | securityLevel | The security level |
[in] | viewType | Select one of mibView_read, write or notify |
[in] | context | The MIB context |
[out] | viewName | If found, the name of the matching view |
- Returns
- VACM_viewFound on success, error codes on failure
virtual int NoVacm::isAccessAllowed |
( |
const int |
securityModel, |
|
|
const NS_SNMP OctetStr & |
securityName, |
|
|
const int |
securityLevel, |
|
|
const int |
viewType, |
|
|
const NS_SNMP OctetStr & |
context, |
|
|
const Oidx & |
o |
|
) |
| |
|
inlinevirtual |
Does the user have the rights to access the Oid.
All parameters are used to check if access is allowed.
- Parameters
-
[in] | securityModel | The security model used |
[in] | securityName | The security name of the user |
[in] | securityLevel | The security level |
[in] | viewType | Read, write or notify view |
[in] | context | The MIB context |
[in] | o | The Oid the user wants to access |
- Returns
- true if access is allowed
virtual int NoVacm::isAccessAllowed |
( |
const NS_SNMP OctetStr & |
viewName, |
|
|
const Oidx & |
o |
|
) |
| |
|
inlinevirtual |
Is the oid within the view.
Check if the given Oid is within the named view.
- Parameters
-
[in] | viewName | Name of the view |
[in] | o | Oid to check |
- Returns
- true if the oid is within the view
The documentation for this class was generated from the following file: