PortletBridge - PortletBridge Portlet

来源:百度文库 编辑:神马文学网 时间:2024/04/20 16:52:37
Portlet Bridge Portlet
Last published: 02 February 2006 | Doc for 1.1.2
PortletBridge |Sourceforge
Project
Overview
Sub Projects
PortletBridge - CorePortletBridge - WebPortletBridge - PortletSaxBenchmark
Project Documentation
About Portlet Bridge PortletDownloadsProject InfoProject ReportsDevelopment Process

PortletBridge Portlet
The PortletBridge Portlet project creates a JSR-168 Portlet that can proxy and rewrite content from a downstream web site. Currently, the portlet supports: Getting content from a downstream site Proxy configuration (including NTLM and Basic authentication) NTLM and Basic authentication as preferences Using an xsl stylesheet to rewrite the content from the downstream site Proxying of remote resources (e.g. images, flash etc.) Pluto 1.0.1 rc2 JBoss Portal 2.0 LifeRay Professional 3.6.0 XSL Stylesheets packaged as part of the portlet or remote (URL based) Links to binary files Help and Edit modes Rewriting CSS urls Moving javascript and css links out of the head Hiding of downstream URLs and configurable scope Back button and refresh support
The portlet currently does not support: Tested support of other portal frameworks URL rewriting in external stylesheets and javascript
 
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.
Portlet Configuration
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
Servlet Configuration
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
Requirements
Portlet Bridge requires Java 1.4 or above.
© 2002-2006, Grape Design Limited