The PortletBridge Portlet project creates a JSR-168 Portlet that can proxy and rewrite content from a downstream web site. Currently, the portlet supports:
The size of the PortletBridge portlet is due to the inclusion of the Xalan and Xerces jars for rewriting the content from the downstream site.
Init Params:
Name | Description | Required |
---|---|---|
mementoSessionKey | mementoSessionKey | Yes |
servletName | pbhs | Yes |
parserClassName | org.cyberneko.html.parsers.SAXParser | Yes |
Preferences:
Name | Description | Readonly | Required |
---|---|---|---|
secureEdit | Whether or not EDIT checks for isUserInRole("portletbridge") | Yes | Yes |
initUrl | The initial url for the portlet to point to | No | Yes |
scope | A regular expression that identifies which downstream sites should be proxied and which just linked to. | No | Yes |
authentication | What kind of authentication to use ("none", "basic", "ntlm") | No | No |
authenticationUsername | Username | No | No |
authenticationPassword | Password | No | No |
authenticationHost | Host (for ntlm) | No | No |
authenticationDomain | Domain (for ntlm) | No | No |
proxyHost | The Proxy Host | No | No |
proxyPort | The Proxy Port | No | No |
proxyAuthentication | Proxy Authentication ("none", "basic", "ntlm") | No | No |
proxyAuthenticationUsername | Proxy Username | No | No |
proxyAuthenticationPassword | Proxy Password | No | No |
proxyAuthenticationHost | Proxy Authentication Host (for ntlm) | No | No |
proxyAuthenticationDomain | Proxy Authentication Domain (for ntlm) | No | No |
stylesheet | classpath:/org/portletbridge/xsl/portletbridge.xsl | No | No |
Init Params:
Name | Description | Required |
---|---|---|
mementoSessionKey | The key to store portletbridge user data under | Yes |
parserClassName | The name of the parser class to use | Yes |
editStylesheet | URL to the edit stylesheet | Yes |
helpStylesheet | URL to the help stylesheet | Yes |
errorStylesheet | URL to the error stylesheet | Yes |
servletName | The name the servlet is under | Yes |