HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
aatv_name The name of the AATV supplied for processing the request.
event_code The event code to resume processing the request from where it was
left off on the FSM.
Return
Returns one of the following values:
SDK_SUCCESS if the operation succeeds.
SDK_INVALID_ARG if the arguments are invalid.
SDK_FAILURE if the operation fails.
Secondary APIs
This section discusses additional APIs that you can use to customize the HP-UX AAA
Server.
sdk_authreq_t *sdk_get_authreq_by_id()
sdk_authreq_t *sdk_get_authreq_by_id(uint64_t authreq_id)
Usage
Obtains the authentication request through the request identifier and returns a pointer
to the authreq structure.
Input
authreq_id A number used by the HP-UX AAA Server to uniquely identify an
authentication request.
Return
Returns a pointer to the authreq found or NULL if the operation fails.
char *sdk_get_config_dir()
Obtains the AAA configuration directory and returns the name of the configuration
directory. The default configuration directory is /etc/opt/aaa/.
Return
Returns the name of the configuration directory if the operation succeeds, or NULL if
the operation fails.
int sdk_set_authreq_info
int sdk_set_authreq_info(sdk_authreq_t *authreq, u_char infotype,
uint32_t len, void *value)
Usage
Sets fields for a request. In the current version of the HP-UX AAA Server, the only
supported fields are the expiration time for a request, the message type (code) of a
request and the target host to which the request must be sent.
Input
authreq
A pointer to an authreq.
APIs in the HP-UX AAA Server SDK 591