Patent ID: 7770185

Claim:
A method for providing an interceptor between a producer and a consumer in a remote portal system, the method comprising: providing a computer, including a computer readable storage medium and processor operating thereon, and the consumer executing on the computer, wherein the consumer includes an interceptor framework; receiving, at the consumer, definitions of a plurality of public interceptor interfaces, wherein the plurality of public interceptor interfaces each implement at least one of a feature and a function, and wherein each public interceptor interface is associated with a web application available through the consumer; detecting an occurrence of a condition associated with at least one public interceptor interface; creating, by the interceptor framework, a context object associated with the occurrence and passing the context object to the at least one public interceptor interface; processing the context object by the at least one public interceptor interface to create a modified context object and passing the modified context object to the interceptor framework; constructing a message, by the interceptor framework, based on the modified context object; sending the message to one or more of the consumer and the producer based on the occurrence; and in response to detecting the occurrence of the condition associated with the at least one public interceptor interface, executing program code corresponding to the at least one of a feature and a function to control behavior of at least one of the producer and the consumer.