# US 2006/0041637 A1 · Reverse proxy portlet with rule-based, instance level configuration

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0041637 A1
- Document ID: US20060041637A1
- Status: Published application
- Kind: A1
- Application number: 10/920,914
- Filed: 2004-08-18
- Published: 2006-02-23
- Earliest claimed: 2004-08-18
- Assignees: International Business Machines Corporation
- Inventors: Stanley Jerrard-Dunne
- Web page: https://patentgrep.com/patent/US20060041637A1

## CPC

- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/567: Integrating service provisioning from a plurality of service providers
- H04L 67/5683: Storage of data provided by user terminals, i.e. reverse caching
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A portal server having a reverse proxy mechanism for proxying one or more Web applications on a backend server in response to a request for Web content from a user. The reverse proxy mechanism includes a portlet, a set of configuration rules, and a rewriting mechanism. The rewriting mechanism is configured to forward a user request for Web content to a Web application on the backend server, receive a response from the Web application, and rewrite the received response in accordance with the configuration rules. The portlet is configured to produce a content fragment for a portal page from the rewritten response. The configuration rules include rules for rewriting any resource addresses, such as URLs, appearing in the received response from the Web application to point to the portal server rather than to the backend server. The disclosed system allows the portal server to appear to the client as the real content server. The portal server is arranged such that an external Web application, which is running on a separate backend server, is displayed to the user within the boundary of the portlet window on a portal page. The backend server remains behind a firewall and the reverse proxy function of the portlet allows a user to access the Web application on the portal server, without needing (or allowing) the user to have direct access to the backend server and backend application which provide the actual content.

## Claims

### Claim 1

A reverse proxy mechanism for proxying, on a portal server, one or more Web applications running on a Web server, in response to a request for Web content from a client computer system, the reverse proxy mechanism comprising:
a portlet;
a set of configuration rules; and
a rewriting mechanism configured to
forward data, relating to a client request for Web content, to a Web application on the Web server,
receive a response from the Web application, and
rewrite the received response in accordance with the configuration rules,
such that resource addresses contained within the response are rewritten to refer to the portal server rather than the Web server, and the portlet being configured to produce a content fragment for a portal page from the rewritten response.

### Claim 2 (depends on 1)

A reverse proxy mechanism according to claim 1, wherein the configuration rules identify a plurality of target character patterns and associated output models, and the rewriting mechanism searches the response from the Web server for character strings corresponding correctly to any of the target character patterns and rewrites any matched character strings in the response in accordance with the output model associated with the matched character pattern.

### Claim 3 (depends on 1)

A reverse proxy mechanism according to claim 1, wherein the client request includes an indication of one or more user preferences and the portlet is operable to render a content fragment from a rewritten response in accordance with these user preferences.

### Claim 4 (depends on 1)

A reverse proxy mechanism according to claim 1, wherein the configuration rules also include rules for rewriting the response from the Web server to manipulate formatting characteristics of the Web content.

### Claim 5 (depends on 1)

A reverse proxy mechanism according to claim 1, in which the rewriting mechanism is configured to rewrite resource addresses having the attribute ‘href’ to refer to the portlet and resource addresses having the attribute ‘src’ to refer to the rewriting mechanism.

### Claim 6 (depends on 1)

A reverse proxy mechanism according to claim 1 wherein the rewriting mechanism is a servlet.

### Claim 7 (depends on 1)

A reverse proxy mechanism according to claim 1 configured to respond to a client request for Web content from a Web application which uses a frameset, by creating an inline frame as a content fragment including a link to the rewriting mechanism.

### Claim 8 (depends on 7)

A reverse proxy mechanism according to claim 7, configured to rewrite a response from the Web server to a client request to fill an inline frame, such that any resource addresses in the response refer to the rewriting mechanism rather than the Web server.

### Claim 9

A portal server comprising:
a plurality of portlets for processing Web content and a portlet container for managing the portlets, wherein at least one of the portlets has a set of configuration rules, and an associated servlet which is configured to
forward data, relating to a client request for Web content, to a Web application on a Web server,
receive a response from the Web application, and
rewrite the received response in accordance with the configuration rules
such that resource addresses contained within the response are rewritten to refer to the portal server rather than the Web server, and the portlet being configured to produce a content fragment for a portal page from the rewritten response.

### Claim 10 (depends on 9)

A portal server according to claim 9, wherein the configuration rules identify a plurality of target character patterns and associated output models, the rewriting mechanism configured to search the response from the Web server for character strings corresponding correctly to any of the target character patterns and rewrite any matched character strings in the response in accordance with the output model associated with the matched character pattern.

### Claim 11 (depends on 9)

A portal server according to claim 9, wherein the portlet container is configured to invoke, in response to a client request, one or more portlets targeted by the client request.

### Claim 12 (depends on 9)

A portal server according to claim 9, wherein each portlet on a portal page targeted by the client request produces a content fragment and forwards it to the portlet container.

### Claim 13 (depends on 11)

A portal server according to claim 11, configured to aggregate content fragments from each of the invoked portlets into a portal page.

### Claim 14 (depends on 9)

A portal server according to claim 9, each portlet being configured to proxy a set, associated with the portlet, of one or more Web applications on a Web server, and comprising a set of configuration rules, and an associated servlet which is configured to:
forward data, relating to a client request for Web content, to a Web application associated with the portlet;
receive a response from said associated Web application; and
rewrite the received response in accordance with the configuration rules of the associated portlet.

### Claim 15 (depends on 1)

A portal server comprising a reverse proxy mechanism for reverse proxying one or more Web applications on a Web server in response to a request for Web content from a client computer system, the reverse proxy mechanism being as claimed in claim 1.

### Claim 16

A method of providing a portal page from a portal server to a client system, the portal page including Web content from an application on a Web server, the method comprising the steps of:
providing a reverse proxy mechanism including a portlet, a set of configuration rules, and a rewriting mechanism on the portal server;
receiving by the portal server a client request targeting the portlet;
forwarding data relating to the request to the portlet;
forwarding data relating to the request to a Web application on a Web server;
receiving a response from the Web server;
rewriting the response in accordance with the configuration rules such that resource addresses contained within the response are rewritten to refer to the portal server rather than the Web server;
the portlet producing a content fragment for a portal page from the rewritten response; and
aggregating the content fragment into a portal page.

### Claim 17 (depends on 16)

A method according to claim 16, wherein the configuration rules identify a plurality of target character patterns and associated output models, and wherein the rewriting step further comprises:
searching the response from the Web server for a character string corresponding correctly to any of the target character patterns and rewriting any matched character strings in the response in accordance with the output model associated with the matched character pattern.

### Claim 18 (depends on 16)

A method according to claim 16, wherein the client request includes an indication of one or more user preferences and the portlet produces a content fragment in accordance with these user preferences.

### Claim 19 (depends on 16)

A method according to claim 16, further comprising the step of the portal server packaging the content fragment into a portlet window.

### Claim 20 (depends on 16)

A method according to claim 16, wherein the portal page comprises content fragments from a plurality of portlets, the method further comprising the step of aggregating the content fragments from each of the portlets into the portal page.

### Claim 21

A method for reverse proxying a Web application on a Web server, the method comprising the steps of:
providing on a portal server a reverse proxy mechanism comprising a portlet, a set of configuration rules and a rewriting mechanism;
receiving at the portal server a response from the Web server, the response including Web content requested by a client system; and
rewriting the response in accordance with the configuration rules such that resource addresses contained within the response are rewritten to refer to the portal server rather than the Web server.

### Claim 22 (depends on 21)

The method of claim 21, further comprising the step of the portlet producing a content fragment from the rewritten response.

### Claim 23 (depends on 21)

The method of claim 21, wherein the configuration rules identify a plurality of target character patterns and associated output models and the step of rewriting comprises searching the response from the Web server for character strings corresponding correctly to any of the target character patterns and rewriting any matched character strings in the response in accordance with the output model associated with the matched character pattern.

### Claim 24 (depends on 21)

The method of claim 21, further comprising aggregating the content fragment into a portal page.

### Claim 25 (depends on 21)

The method of claim 21 further comprising intercepting by the portlet a user request for Web content from a Web application and forwarding the request to the Web application.

### Claim 26

A computer program product including a computer readable medium, said computer readable medium having a computer program for implementing a reverse proxy mechanism for proxying one or more Web applications on a Web server in response to a request for Web content from a client computer system stored thereon, said computer program comprising:
program code for receiving at a portal server a response from a Web server, the response including Web content requested by the client computer system;
program code for rewriting the response in accordance with the configuration rules such that resource addresses contained within the response are rewritten to refer to the portal server rather than the Web server; and
program code for producing a content fragment by a portlet from the rewritten response.

### Claim 27

A computer data signal embodied in a carrier wave, said computer data signal including a computer program for implementing a reverse proxy mechanism for proxying one or more Web applications on a Web server in response to a request for Web content from a client computer system, said computer program comprising, said computer program comprising:
program code for providing a portal server comprising a portlet, a set of configuration rules and a rewriting mechanism;
program code for receiving at the portal server a response from a Web server, the response including Web content requested by a client system;
program code for rewriting the response in accordance with-the configuration rules such that resource addresses contained within the response are rewritten to refer to the portal server rather than the Web server; and
program code for producing a content fragment by the portlet from the rewritten response.

### Claim 28

A system for implementing a reverse proxy mechanism for proxying one or more Web applications on a Web server in response to a request for Web content from a client computer system stored thereon, comprising:
means for receiving at a portal server a response from a Web server, the response including Web content requested by the client computer system;
means for rewriting the response in accordance with configuration rules such that resource addresses contained within the response are rewritten to refer to the portal server rather than the Web server; and
means for producing a content fragment by a portlet from the rewritten response.
