Skip to content
Markus Sabadello edited this page Mar 23, 2014 · 8 revisions

Also known as "XDI-to-XDI connector".

This contributor can process an XDI request by forwarding it to another XDI endpoint. In doing so, the XDI2 server that uses the contributor acts as an XDI client. The XDI request as well as its response may be manipulated in this process, depending on the configuration of the contributor.

This can be used for a variety of purposes:

  • Logical separation of XDI2 servers without persistence layer ("business servers") from XDI2 servers with persistence layer ("graph servers")
  • Various gatekeeping/firewalling/proxying/auditing scenarios, in which an intermediate XDI2 server pre-processes an XDI request before passing it on the actual intended target XDI2 server.
  • Load balancing and sharding, by forwarding XDI requests to different XDI2 servers, e.g. based on the type of operation, or based on the (part of a) graph that the operation applies to.
  • Configuration of highly specialized XDI2 servers, e.g. for caching or signing purposes.

Interfaces and Classes

Example Spring Bean

<bean class="xdi2.messaging.target.contributor.impl.proxy.ProxyContributor" />

Configuration

TODO
Clone this wiki locally