Sun Java System Access Manager 7 2005Q4 C API Reference

am_auth_init()

Initializes the authentication modules.

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 property handle to the property file which contains the properties to initialize the authentication library.

Returns

This function returns am_status_t with one of the following values:

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

If the error was due to other causes. See am_types.h.