|ClearBox Server v1.2 Developer's Guide|
Called when server receives authentication request with EAP message embedded.
HRESULT ProcessMessage( [in] long tag, [in] long prevPackTag, [in] USERINFOLITE * userInf, [in] unsigned long messageSize, [in] unsigned char * EAPmessage, [out] unsigned long * attrNumOut, [out] RADIUS_ATTRIBUTE * * outpAttributes, [out] RADAUTHENREPLY * authenRes);
If extension returns error code, user is rejected.
This method is called in context of WORK thread. (See Server Threads Model for details.) You should synchronize data which is shared with other threads.
Memory for userInf fields is allocated and freed by the server, so extension must not change them. Also the server allocates and frees memory for EAPmessage. Server may allocate memory for outpAttributes, and it's freed by the server.
The Access-Request packet may contain several EAP-Message attributes. They are merged into one EAPmessage block.
If any attributes are returned in outpAttributes, flags attribute field must be explicitly set to 0 or any appropriate value.
Attributes from outpAttributes array are included in response packet disregarding authenRes value.
© 2001-2003 XPerience Technologies. www.xperiencetech.com
|Created by chm2web html help conversion utility.|