Returns a boolean specifying whether the URL being accessed by the user is in the not enforced list.
URLs that are not enforced are defined in the com.sun.am.policy.agents.config.notenforced_list property in the agent configuration properties. If the URL 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_list(const char *url, const char *path_info, void* agent_config);
This function takes the following parameters:
Pointer to the URL being accessed.
Pointer to the path information in the URL being accessed, if any.
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 URL is in the not enforced list.
Otherwise.