Sun Java System Access Manager 7 2005Q4 C API Reference

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If auth context was successfully created.

AM_NO_MEMORY

If unable to allocate memory for the handle.

AM_INVALID_ARGUMENT

If the auth_ctx parameter is NULL.

AM_AUTH_CTX_INIT_FAILURE

If the authentication initialization failed