NAME

catboks_auth - authenticate Keon 4.x user

SYNOPSIS

#include <cat/boks.h>

int catboks_auth(const char *route, const char *user, const char *prog);

DESCRIPTION

This function calls Keon Security Server 4.x to authenticate a user. The user name is usually the name of the user whose certificate has been received from the client as a result of an ALLTAK or ALLTAAS negotiation.

The function returns zero if access is granted.

If the prog argument, which should be set to the program or service name, is non-null, the authentication attempt will be logged by the server on behalf of the caller.

SEE ALSO

cat, catboks