Sun Java System Access Manager 7 2005Q4 C API Reference

am_web_log_auth()

Log the given access allowed or denied message to the Access Manager logs.

Syntax

#include "am_web.h"
AM_WEB_EXPORT boolean_t
am_web_log_auth(am_web_access_t access_type, const char *fmt, ...);

Parameters

This function takes the following parameters:

access_type

AM_ACCESS_ALLOW or AM_ACCESS_DENY.

message

Any message for the log.

Returns

This function returns boolean_t with one of the following values:

true

If the call was successful.

false

Otherwise.