Patent ID: 8453225

Claim:
A method for performing form-based authentication via a device intermediary to a client and a server, the method comprising: (a) detecting, by a device intermediary to a client and a server, that a response from the server to the client includes a uniform resource locator (URL) corresponding to a login form for authenticating a user of the client, the URL specified in a configuration of the device, the configuration identifying a traffic management policy to apply corresponding to the URL; (b) parsing, by the device responsive to application of the identified traffic management policy, a payload of the response to determine authentication credentials requested by the login form; (c) populating, by the device, the login form with authentication credentials of the user of the client; (d) transmitting, by the device to the server, a request for authentication of the user of the client and the login form with the authentication credentials populated by the device; (e) receiving, by the device, a second response responsive to the request, the second response comprising an indication of successful authentication of the user; and (f) transmitting, by the device to the client responsive to detecting the indication of successful authentication, the second response with a stored cookie.