PortletBridge Web

The PortletBridge Web project produces a .war file that can be used to proxy and rewrite HTML.

Configuration

There are various configuration options you can set when deploying the war file. These are done through context parameters. Most servlet contains have a way to configure context params without having to change the contents of the war file. This is what they would look like in tomcat:


<Context path="/portletbridge" reloadable="true" 
        docBase="/dev/portletbridge/portletbridge-web/target/portletbridge-web"
        debug="0" privileged="false">

  <Parameter name="portletbridge.configProxyEnabled" value="true" override="false"/>
  <Parameter name="portletbridge.configProxyHost" value="---" override="false"/>
  <Parameter name="portletbridge.configProxyPort" value="---" override="false"/>
  <Parameter name="portletbridge.configProxyAuthentication" value="ntlm" override="false"/>
  <Parameter name="portletbridge.configProxyAuthenticationUsername" value="---" override="false"/>
  <Parameter name="portletbridge.configProxyAuthenticationPassword" value="---" override="false"/>
  <Parameter name="portletbridge.configProxyAuthenticationHost" value="---" override="false"/>
  <Parameter name="portletbridge.configProxyAuthenticationDomain" value="---" override="false"/>
  <Parameter name="portletbridge.configConnectionTimeout" value="5000" override="false"/>
  <Parameter name="portletbridge.configConnectionMaxTotal" value="100" override="false"/>
  <Parameter name="portletbridge.configConnectionMaxPerHost" value="20" override="false"/>

</Context>

Requirements

Portlet Bridge requires Java 1.4 or above.