The PortletBridge portlet should run without any specific configuration. All you need to do is deploy it into your portal and then edit the preferences. It is recommended that you remove the edit mode in a live deployment. Please note, you will have to either map the "portletbridge" role to an appropriate local role (for Liferay, the liferay.xml descriptor maps it to "Administrator") or set up a "portletbridge" role (for JBoss 2.0).
Init Params:
Name | Description | Required |
---|---|---|
mementoSessionKey | mementoSessionKey | Yes |
servletName | pbhs | Yes |
parserClassName | org.cyberneko.html.parsers.SAXParser | Yes |
authenticatorClassName | The classname of the bridge authenticator. | Yes |
editStylesheet | URL to the edit stylesheet | Yes |
helpStylesheet | URL to the help stylesheet | Yes |
errorStylesheet | URL to the error stylesheet | Yes |
Preferences:
Name | Description | Readonly | Required |
---|---|---|---|
secureEdit | Whether or not EDIT checks for isUserInRole("portletbridge"). False by default. | 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 | The XSLT to be applied to the stream | No | No |
stylesheetUrl | A url to the stylesheet, preferred to the stylesheet preference e.g. classpath:/org/portletbridge/xsl/portletbridge.xsl | No | No |