Microsoft Internet Security and Acceleration Server 2004 SDK

HTTP_FILTER_AUTHENT

The ISA Server Web proxy includes a pointer to the HTTP_FILTER_AUTHENT structure when it is authenticating a user. If your filter should be notified for this event, it must register to receive SF_NOTIFY_AUTHENTICATION notifications. For more information about the types of event notifications that are sent to Web filters, see Event Notifications.

Note  When you are creating a Web filter for ISA Server, we recommend that you use WPX_FILTER_AUTHENT_EX rather than HTTP_FILTER_AUTHENT.

typedef struct _HTTP_FILTER_AUTHENT {
CHAR* pszUser;
DWORD cbUserBuff;
CHAR* pszPassword;
DWORD cbPasswordBuff; } HTTP_FILTER_AUTHENT,
*PHTTP_FILTER_AUTHENT;

Members

pszUser
Null-terminated string that specifies the user name for this request. An empty string indicates an anonymous user.
cbUserBuff
The size of the buffer pointed to by pszUser. This is guaranteed to be at least SF_MAX_USERNAME.
pszPassword
Null-terminated string that specifies the password for this request.
cbPasswordBuff
The size of the buffer pointed to by pszPassword. This is guaranteed to be at least SF_MAX_PASSWORD.

Remarks

When the server is about to authenticate the client, this structure is pointed to by the pvNotification parameter in the HttpFilterProc function when the notificationType parameter is SF_NOTIFY_AUTHENTICATION. The pszUser and pszPassword members contain the information sent by the client.

In the case of basic or RADIUS authentication, after exiting this notification, these values should represent a valid Windows user account and password. If another authentication method is used, the password value will not be available.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wpxhttpfilt.h.

See Also

Notification Structures