Sun Java System Access Manager 7 2005Q4 C API Reference

am_auth_submit_requirements()

Submits the responses populated in the callbacks to the server.

Syntax

#include "am_auth.h"
AM_EXPORT am_status_t
am_auth_submit_requirements(am_auth_context_t auth_ctx);

Parameters

This function takes the following parameter:

auth_ctx

Handle of the auth context.

Returns

This function returns am_status_t with one of the following values:

AM_SUCCESS

If the submitted requirements were processed successfully.

AM_AUTH_FAILURE

If the authentication process failed.

AM_INVALID_ARGUMENT

If the auth_ctx parameter is NULL.