Sun Java System Access Manager 7.1 C API Reference

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 session was successfully invalidated.

AM_INVALID_ARGUMENT

If the sso_token_handle parameter is NULL.

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 Access Manager.

AM_ERROR_PARSING_XML

If an error occurred while parsing XML from Access Manager.

AM_ACCESS_DENIED

If access was denied while communicating with Access Manager.

AM_FAILURE

If any other error occurred.