Skip to content

Configuration documentation

yohan legat edited this page Aug 29, 2012 · 8 revisions

General settings

general settings

  • Init URL : url of the displayed website ;
  • Domains to proxy : group of domains, split by semi-colon, for which the related links found in the website must be encapsulated in an actionURL ;
  • Enable URL rewriting: allow the rewriting of the URL found, such as the links found are rewrited as ActionURL.
  • Portlet title: the title of the portlet to display.

Caching

general settings

  • Enable WIP caching : if selected, save the results of the requests such as they can be retrieve later for better performance.

HTML rewriting

general settings

  • XSLT stylesheet : by modifying the xslt code you can change the display of the targeted website. You can transform any part of the website from here, but most of the time it will be easier to set those transformations by setting the clipping and css/javascript rewriting configurations.

Clipping

general settings

  • Extract the content to display with an XPath expression or an XSLT code. An XSLT code appears when you select the XSLT mode. This code represents the transormation process that will be applied to the targeted website for clipping; you need to replace the "Insert code here for xslt clipping" comment by your XSLT expression.

CSS rewriting

general settings

  • Enable CSS retrieving: fetch the external style-sheets.
  • Enable CSS rewriting: rewrite external style-sheets URL as ResourceURL and enable the configuration options following.
  • Regular expression: pattern matching URL in style-sheets.
  • Enable position absolute: uncheck this option for transforming absolute content as relative content and be sure that content will stay within the portlet.
  • Portlet class attribute: class name of the div containing the targeted website.
  • Prefix CSS blocks: check this option for prefixing css properties with the name set in 'Portlet class attribute'. This will avoid conflict in css properties names between portlets.
  • Custom CSS: add or change css rules.

Javascript rewriting

general settings

  • JavaScript Regex: regex used to detect URLs in javascript code.
  • Ajax URLs to rewrite: URLs to rewrite. According to the type of the URL, different rewriting operations will be applied: (1) It will be transformed as a ResourceURL if it is set as an AJAX (GET) or AJAXPOST (POST) call; (2) It will be transformed as a ActionURL if it is set as an action FORM URL; (3) It will be transformed as an absolute URL if it is set as a LINK (href) or a REGULAR URL (other cases).
  • Script URLs to ignore: external javascript URLs to keep without transformation.
  • Script URLs to delete: external javascript URLs to not import.

Lightweight Third-Party Authentication (LTPA)

general settings

  • Activate LTPA token authentication: LTAP authentication activation.
  • Name of the class that supplies credential: credential provider
  • implementation class. Must implement the CredentialProvider interface.
  • Name of the class that supplies LTPA secret: secret provider implementation class. Must implement the SecretProvider interface.
Clone this wiki locally