Sun OpenSSO Enterprise 8.0 C API Reference for Application and Web Policy Agent Developers

Details

am_web_get_url_to_redirect() may redirect the user to the login URL or the access denied URL. The URL is appropriate to the provided status code and advice map returned by the Policy SDK. If redirecting to the login URL, the URL will include existing information specified in the URL from the configuration file (for example, the organization name) as well as the specified goto parameter value which will be used by OpenSSO Enterprise after the user has successfully authenticated. The last parameter reserved must be passed with NULL.


Note –

If the URL returned is not NULL, the caller of this function must call am_web_free_memory(void *) to free the pointer.