ClearBox Server™ v1.2 Developer's Guide

IRADIUSAuthorization::NeedAllAttributes

Called by server to ask extension if it wants to receive all attributes from request packet in call to IRADIUSAuthorization::GetResponseAttributes.

HRESULT NeedAllAttributes(
	[in] long tag,
	[in] USERINFOLITE * userInf);

Parameters

tag
[in] Unique value identifying RADIUS packet in whose context this method is called.
userInf
[in] Describes user.

Return Values

If extension returns S_OK, then inpAttributes in call to IRADIUSAuthorization::GetResponseAttributes will point to array of RADIUS attributes found in request packet. If it returns any other value, this array will be empty.

Thread Safety

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 Management

Memory for userInf fields is allocated and freed by server, so extension must not change them.

Remarks

Server extension may return S_FALSE to make server not to send attributes from request packet to eliminate extra resource allocation if these attributes are not needed. This may slightly improve the server performance.

See Also

IRADIUSAuthorization, IRADIUSAuthorization::GetResponseAttributes, Authorization concepts, RADIUS authorization


© 2001-2003 XPerience Technologies. www.xperiencetech.com

Created by chm2web html help conversion utility.