Deployment Example 2: Federation Using SAML v2

ProcedureTo Configure Application Server 3 for SSL Termination

  1. As a root user, log into the Application Server 3 host.

  2. Stop Application Server 3.


    # cd /opt/SUNWappserver/appserver/bin/
    # ./asadmin stop-domain
  3. Install Patch 119166-22 as described in the file README.119166-22.

    Be sure to complete the patch post-installation instructions as described in that file.


    # cd /tmp
    # unzip 119166-21.zip
    # patchadd -G /tmp/119166-22
  4. Verify that the patch was indeed installed successfully.


    # showrev -p | grep 119166-22
    Patch: 119166-22 Obsoletes: Requires: Incompatibles: Packages: SUNWasuee, 
    SUNWaswbcr, SUNWascmnse, SUNWasacee, SUNWasdemdb, SUNWashdm, SUNWasdem, 
    SUNWascmn, SUNWasac, SUNWascml, SUNWasu, SUNWasjdoc, SUNWasman, SUNWasut, SUNWasmanee
  5. Edit the following file:


    /var/opt/SUNWappserver/domains/domain1/applications/j2ee-apps/
    agentsample/agentservlets_war/WEB-INF/sun-web.xml

    Append the following directive to the end of the file:


    ...
    <property name="relativeRedirectAllowed" value="true"/>
    </sun-web-app>

    Save the file and exit.

  6. Edit the following file:


    /var/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/
    agentapp/WEB-INF/sun-web.xml

    Append this directive to the end of the file:


    ...
    <property name="relativeRedirectAllowed" value="true"/>
    </sun-web-app>

    Save the file and exit.

  7. Start the Application Server.


    # cd /opt/SUNWappserver/appserver/bin/
    # ./asadmin start-domain --user admin --password 11111111