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

Returns

This function returns one of the following values of the am_status_t enumeration (defined in the <am_types.h> header file):

AM_SUCCESS

If the token was refreshed with no errors.

AM_INVALID_ARGUMENT

If the sso_token_handle parameter is invalid.

AM_SERVICE_NOT_INITIALIZED

If the Session Service was not initialized with am_sso_init().

AM_SERVICE_NOT_AVAILABLE

If server returned service not available.

AM_HTTP_ERROR

If an HTTP error was encountered while communicating with OpenSSO Enterprise.

AM_ERROR_PARSING_XML

If an error occurred while parsing XML from OpenSSO Enterprise.

AM_ACCESS_DENIED

If access was denied while communicating with OpenSSO Enterprise.

AM_SESSION_FAILURE

If the session validation failed.

AM_FAILURE

If any other error occurred.