ClearBox Server v1.2 Developer's Guide |
IEAP::ProcessMessageCalled 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); Parameters
Return ValuesIf extension returns error code, user is rejected. Thread SafetyThis 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 ManagementMemory 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. RemarksThe 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. See AlsoIEAP, RADIUS Specific Authentication © 2001-2003 XPerience Technologies. www.xperiencetech.com |
Created by chm2web html help conversion utility. |