Sun Java System Access Manager 7 2005Q4 C API Reference


Opaque handle to a map object. A map object is used to manipulate key value pairs using the am_map_* interface. Map objects are used by the policy interface in the C SDK to return any policy decision results and advices from Access Manager policy service, and to pass any environment variables for to the policy interface for policy evaluation.


#include "am_map.h"typedef struct am_map *am_map_t;


This is an opaque structure and therefore has no members accessible by the C SDK user.


This function creates an instance of am_map_t structure and returns the pointer to the structure to the caller.

Memory Concerns: You should free the allocated structure by calling am_map_destroy.

See am_policy_test.c in the C SDK samples for an example of how to use am_map_t.