Initializes one instance of the OpenSSO Enterprise Policy Service for policy evaluation.
#include "am_policy.h" AM_EXPORT am_status_t am_policy_service_init(const char *service_name, const char *instance_name, am_resource_traits_t rsrc_traits, am_properties_t service_config_properties, am_policy_t *policy_handle_ptr);
This function takes the following parameters:
Pointer to the name for the Policy Service.
Pointer to the name of the instance being initialized.
Pointer to a am_resource_traits_t structure type.
See am_resource_traits_t for more information.
Pointer to the properties used to initialize the Policy Service instance.
See am_properties_t for more information.
Pointer to the integer specifying the object being evaluated.
This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):
If the call was successful.
If any error occurs, the type of error indicated by the status value.