Sun Java System Access Manager 7.1 C API Reference

am_auth_init()

Initializes the authentication module using the pointer returned by am_auth_create_auth_context().

Syntax

#include "am_auth.h"
AM_EXPORT am_status_t
am_auth_init(const am_properties_t auth_init_params);

Parameters

This function takes the following parameter:

auth_init_params

The am_properties_t type which contains the module initialization properties.


Note –

See am_properties_t for information.


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 initialization of the library is successful.

AM_NO_MEMORY

If unable to allocate memory during initialization.

AM_INVALID_ARGUMENT

If auth_init_params is NULL.

Others

See am_status_t.