Retrieves a user's SSOToken.
In cases of cross domain single sign-on, OpenSSO Enterprise sends out a user's SSOToken using POST. This method uses POST to retrieve the SSOToken and set it in the foreign domain.
#include "am_web.h" M_WEB_EXPORT am_status_t am_web_check_cookie_in_post(void ** args, char ** dpro_cookie, char ** request_url, char **orig_req, char *method, char *response, boolean_t responseIsCookie, 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 a pointer to the CDSSO URL.
Pointer to a pointer to the original request method.
Pointer to the changed method name.
Pointer to the response which will hold the POST data.
Returns one of the following values of the boolean_t enumeration (defined in the <am_types.h> header file):
If using Liberty Alliance Project specifications.
If OpenSSO Enterprise POST data.
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.