![]() |
yumapro
24.10-11
YumaPro SDK
|
The NACM handler provides the required access control APIs within the server. More...
Typedefs | |
typedef status_t(* | agt_acm_group_cbfn_t) (const xmlChar *username, xmlChar **retgroups) |
typedef for NACM External Groups callback function More... | |
Functions | |
void | agt_acm_ietf_register_group_cbfn (agt_acm_group_cbfn_t cbfn) |
Register a get-external-groups callback function. More... | |
The NACM handler provides the required access control APIs within the server.
Full implementation of RFC 8341.
https://tools.ietf.org/rfc/rfc8341
typedef status_t(* agt_acm_group_cbfn_t) (const xmlChar *username, xmlChar **retgroups) |
typedef for NACM External Groups callback function
Get the list of group names for this username These groups are added to the usergroup cache for the session
username | return the list of group names that this username is a member | |
[out] | retgroups | address of return malloced string *retgroups is set to a malloced string that will be parsed.
|
void agt_acm_ietf_register_group_cbfn | ( | agt_acm_group_cbfn_t | cbfn | ) |
Register a get-external-groups callback function.
This will be invoked at the start of each session as the acm_cache is created for a session
cbfn | callnack function to register |