Returns a boolean specifying whether the given IP address is defined as one where no authentication or authorization is required.
IP addresses that are not enforced are defined in the com.sun.am.policy.agents.config.notenforced_client_ip_list property in the agent configuration properties. If the IP address from where the request was issued is not enforced, the request goes through without authentication or authorization.
#include "am_web.h" AM_WEB_EXPORT boolean_t am_web_is_in_not_enforced_ip_list(const char *ip, void* agent_config);
This function takes the following parameter:
Pointer to the IP address.
An agent configuration instance returned by am_web_get_agent_configuration(). This parameter should not be NULL.
This function returns one of the following values of the boolean_t enumeration (defined in the <am_types.h> header file):
If the IP is in the not enforced IP address list.