Sun GlassFish Web Space Server 10.0 Secure Web Access Add-On Guide

ProcedureTo Use the JavaScript URL Variables Sample

  1. This sample can be accessed from:


  2. Ensure that is defined in the Proxies for Domains and Subdomains list in the Gateway service.

    If this is not defined, a direct connection is assumed, and the Gateway URL is not prefixed.

  3. Add the rule specified in this sample to the default_gateway_ruleset in the section "Rules for Rewriting JavaScript Source".

  4. Edit the default_gateway_ruleset in the Rewriter service under Portal Server Configuration in the Portal Server administration console.

  5. If you added the rule, restart the Gateway:

    ./psadmin start-sra-instance –u amadmin – f  <password file> –N <profile name>– t  <gateway>