Retrieves the cookie from a query string.
In older versions of this product, when performing CDSSO, the cookie was part of the query string.
AM_WEB_EXPORT am_status_t am_web_check_cookie_in_query(void **args, char **dpro_cookie, const char *query, char **request_url, char ** orig_req, char *method, am_status_t (*set_cookie)(const char *, void **), void (*set_method)(void **, char *), void* agent_config );
This function takes the following parameter:
Pointer to a pointer to agent defined parameters.
Pointer to a pointer to the OpenSSO Enterprise cookie.
Pointer to the query.
Pointer to a pointer to the CDSSO URL.
Pointer to a pointer to the original request method.
Pointer to a pointer to the changed method name.
Function pointer used to set the cookie in the foreign domain.
Function pointer used to reset the original method in the request.
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 am_status_t enumeration (defined in the <am_types.h> header file):
If the query parameter was found in the URL.
If any other error occurred.