Connection authentication performs the following actions.
Calls a user-authentication routine, which issues the challenge in the form of a generated key
Sends the generated key to the prospective "client"
Calls a user-response at the client, which must reply with the correct response
Calls a user hook again when the response data is returned to the server-side, which can either allow or disallow the connection, based on the response
Authentication is enabled by default, using the JADE-supplied default library and authentication hooks. If you want to avoid enforcement of the authentication protocol, you must manually disable authentication in the JADE initialization file at the server.
When connection authentication is enabled:
JADE looks in the [
For details, see "
The JADE RPC module dynamically loads the authentication DLL by a LoadLibrary call during initialization and attempts to obtain the address of predefined functions by name, using GetProcAddress.
On a remote access-capable node, if the dynamic load fails, an exception is logged in the JADE event log and remote access provider support is disabled, preventing any clients from connecting.
JADE invokes the Authentication Challenge hook, Authentication Response hook, and Authentication Verification hook described in the following subsections only if the authentication feature is enabled. Your site-supplied library must export all three hook functions to enable correct operation of authentication support.