US 7,490,141 B1
Ajax proxy indirection for external domain requests
John Paul Cammarata, Wake Forest, N.C. (US); Erik John Burckart, Raleigh, N.C. (US); Andrew Ivory, Wake Forest, N.C. (US); and Aaron Kyle Shook, Raleigh, N.C. (US)
Assigned to IBM Corporation, Armonk, N.Y. (US)
Filed on May 15, 2008, as Appl. No. 12/121,210.
Int. Cl. G06F 13/00 (2006.01)
U.S. Cl. 709—219  [709/225; 709/227] 1 Claim
OG exemplary drawing
 
1. A method, comprising:
receiving by a proxy server an Ajax request from a requesting Ajax client for a service by a local Ajax server within a local domain;
forwarding the request from the proxy server to the local Ajax server, the proxy server asking the local Ajax server for credentials to be used in an external domain Ajax request;
receiving at the proxy server, from the local Ajax server, metadata for the external domain request that the proxy server will make to an external Ajax server in an external domain;
initiating with the proxy server the external domain request to the external Ajax server, the proxy server using the credentials of the external domain Ajax request, the proxy server performing authentication and domain mapping with the external Ajax server;
receiving at the proxy server, from the external Ajax server, a response of the requested service;
forwarding the response from the proxy server to the requesting client;
using a shortcut by the proxy server for subsequent requests by the Ajax client for the service;
maintaining by the proxy server the domain mapping with the external Ajax server for the subsequent requests for the service; and
making external domain requests by the proxy server to the external Ajax server in the external domain for the subsequent requests for the service without exposing the local Ajax server to the external domain and without requiring the proxy server to relay external requests from the local Ajax server.