µC/TELNETs Authentication
To control the telnet access to the machine the server runs on, your application must implement an authentication mechanism via this callback function:
CPU_BOOLEAN TELNETs_AuthUser (CPU_CHAR *user_name, CPU_CHAR *pw);
where user_name
is the entered login name and password, the associated password provided by the client. If your application authenticates correctly the user, the function must return DEF_OK
. Otherwise, DEF_FAIL
must be returned.