yumapro
24.10-2
YumaPro SDK
|
NETCONF Server Access Control handler for IETF data model. More...
#include <xmlstring.h>
#include "agt.h"
#include "dlq.h"
#include "obj.h"
#include "ses.h"
#include "status.h"
#include "val.h"
#include "xmlmsg.h"
#include "xmlns.h"
#include "xpath.h"
Go to the source code of this file.
Typedefs | |
typedef status_t(* | agt_acm_group_cbfn_t) (const xmlChar *username, xmlChar **retgroups) |
typedef for NACM External Groups callback function More... | |
Functions | |
status_t | agt_acm_ietf_init2 (void) |
Phase 2 : Initialize the external data model configuration data structures. More... | |
status_t | agt_acm_ietf_init1 (void) |
Phase 1: Load the external data module. More... | |
void | agt_acm_ietf_cleanup (void) |
Cleanup the external access control module. More... | |
boolean | agt_acm_ietf_rpc_allowed (xml_msg_hdr_t *msg, const xmlChar *user, const obj_template_t *rpcobj) |
Check if the specified user is allowed to invoke an RPC. More... | |
boolean | agt_acm_ietf_notif_allowed (const xmlChar *user, const obj_template_t *notifobj) |
Check if the specified user is allowed to receive a notification event. More... | |
boolean | agt_acm_ietf_val_write_allowed (xml_msg_hdr_t *msg, const xmlChar *user, val_value_t *newval, val_value_t *curval, op_editop_t editop) |
Check if the specified user is allowed to access a value node. More... | |
boolean | agt_acm_ietf_val_read_allowed (xml_msg_hdr_t *msg, const xmlChar *user, val_value_t *val) |
Check if the specified user is allowed to read a value node. More... | |
status_t | agt_acm_ietf_init_msg_cache (ses_cb_t *scb, xml_msg_hdr_t *msg) |
Malloc and initialize an agt_acm_cache_t struct and attach it to the incoming message. More... | |
void | agt_acm_ietf_clear_session_cache (ses_cb_t *scb) |
Clear an agt_acm_cache_t struct in a session control block. More... | |
void | agt_acm_ietf_invalidate_session_cache (ses_cb_t *scb) |
Invalidate an agt_acm_cache_t struct in a session control block. More... | |
boolean | agt_acm_ietf_session_cache_valid (const ses_cb_t *scb) |
Check if a session ACM cache is valid. More... | |
void | agt_acm_ietf_clean_xpath_cache (void) |
Clean any cached XPath results because the data rule results. More... | |
void | agt_acm_ietf_register_group_cbfn (agt_acm_group_cbfn_t cbfn) |
Register a get-external-groups callback function. More... | |
void | agt_acm_ietf_set_datarules (val_value_t *val, uint32 msgid) |
Check the dataruleQ in the object and all child nodes For each rule found. More... | |
void | agt_acm_ietf_clean_obj_datarule (ncx_module_t *mod) |
Check all the rule list entry and its OBJ datarule cache and clean if the modules is getting unloaded for this objects. More... | |
NETCONF Server Access Control handler for IETF data model.