Quick Portlet Configuration

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).

Full Portlet Configuration

Init Params:

NameDescriptionRequired
mementoSessionKeymementoSessionKeyYes
servletNamepbhsYes
parserClassNameorg.cyberneko.html.parsers.SAXParserYes
authenticatorClassNameThe classname of the bridge authenticator.Yes
editStylesheetURL to the edit stylesheetYes
helpStylesheetURL to the help stylesheetYes
errorStylesheetURL to the error stylesheetYes

Preferences:

NameDescriptionReadonlyRequired
secureEditWhether or not EDIT checks for isUserInRole("portletbridge"). False by default.YesYes
initUrlThe initial url for the portlet to point toNoYes
scopeA regular expression that identifies which downstream sites should be proxied and which just linked to.NoYes
authenticationWhat kind of authentication to use ("none", "basic", "ntlm")NoNo
authenticationUsernameUsernameNoNo
authenticationPasswordPasswordNoNo
authenticationHostHost (for ntlm)NoNo
authenticationDomainDomain (for ntlm)NoNo
proxyHostThe Proxy HostNoNo
proxyPortThe Proxy PortNoNo
proxyAuthenticationProxy Authentication ("none", "basic", "ntlm")NoNo
proxyAuthenticationUsernameProxy UsernameNoNo
proxyAuthenticationPasswordProxy PasswordNoNo
proxyAuthenticationHostProxy Authentication Host (for ntlm)NoNo
proxyAuthenticationDomainProxy Authentication Domain (for ntlm)NoNo
stylesheetThe XSLT to be applied to the streamNoNo
stylesheetUrlA url to the stylesheet, preferred to the stylesheet preference e.g. classpath:/org/portletbridge/xsl/portletbridge.xslNoNo

Servlet Configuration

Init Params:

NameDescriptionRequired
mementoSessionKeyThe key to store portletbridge user data underYes
parserClassNameThe name of the parser class to useYes
servletNameThe name the servlet is underYes

Requirements

Portlet Bridge requires Java 1.4 or above.