Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "RelyingPartyDemoApp Deployment"

(Prerequisites)
(Prerequisites)
Line 5: Line 5:
 
This guide assumes you have the following software:
 
This guide assumes you have the following software:
 
* Eclipse IDE 3.2 or later (see http://www.eclipse.org/)
 
* Eclipse IDE 3.2 or later (see http://www.eclipse.org/)
* Web standard tools 2.0.1 or later (see http://www.eclipse.org/webtools/)
+
* Web standard tools (see http://www.eclipse.org/webtools/)
 
* Apache Tomcat 6 (see http://tomcat.apache.org)
 
* Apache Tomcat 6 (see http://tomcat.apache.org)
 
* Sun JDK/JRE 1.5 or later (see http://java.sun.com/javase/downloads)
 
* Sun JDK/JRE 1.5 or later (see http://java.sun.com/javase/downloads)

Revision as of 02:35, 21 November 2007

This page describes how to download, build, configure and deploy RelyingPartyDemoApp to Tomcat6 servlet container

Prerequisites

This guide assumes you have the following software:

Setup Eclipse workspace

  1. checkout org.eclipse.higgins/app/RelyingPartyDemoApp and org.eclipse.higgins/dependencies.redistributable projects to Eclipse workspace from dev.eclipse.org:/cvsroot/technology
  2. Copy dependencies.redistributable/commons-logging-1.0.4/commons-logging-1.0.4.jar and dependencies.redistributable/xalan-2.6.0/xalan-2.6.0.jar to RelyingPartyDemoApp/WebContent/WEB-INF/lib folder
  3. Refresh the project
  4. Copy your SSL keystore file and CA Root file to RelyingPartyDemoApp/WebContent folder. See How to create a keystore with test certificate for using a test SSL certificate for your tomcat installation.
  5. Update RelyingPartyDemoApp/WebContent/WEB-INF/web.xml file for the following params
    1. keystorename to your keystore file name
    2. keystorepw to your keystore password
    3. keystoretype to your keystore type
    4. keystorekeyalias to your keystore alias
    5. keystorekeypw to your keystore key password
    6. securePort to the SSL port of your tomcat installation
    7. normalPort to the normal port of your tomcat installation
    8. privacyUrl to the URL of your privacy statement
    9. rootCertUrl to the URL of your CA Root location
  6. Download sun.config.xml from org.eclipse.higgins.sts.binding.axis1x.service project and save it as RelyingPartyDemoApp/src/org/apache/xml/security/resource/config.xml. config.xml file checked into cvs works only for IBM Java. Sun version of the config file must be copied to RelyingPartyDemoApp/src/org/apache/xml/security/resource folder to get the right XML Encryption/Decryption algorithm.
  7. Create RelyingPartyDemoApp.war by right clicking RelyingPartyDemoApp project and selecting Export ... > Web > WAR file. Specify the destination for saving war file.

Back to the top