Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "RelyingPartyDemoApp Deployment"
(→Setup Eclipse workspace) |
(→Setup Eclipse workspace) |
||
Line 23: | Line 23: | ||
## securePort to the SSL port of your tomcat installation | ## securePort to the SSL port of your tomcat installation | ||
## normalPort to the normal port of your tomcat installation | ## normalPort to the normal port of your tomcat installation | ||
− | ## privacyUrl to the URL of your privacy statement | + | ## privacyUrl to the URL of your privacy statement. This must be a valid URI. |
## rootCertUrl to the URL of your CA Root location | ## rootCertUrl to the URL of your CA Root location | ||
# Download [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.sts.binding.axis1x.service/WebContent/ConfigurationFiles/sun.config.xml?root=Technology_Project&view=co 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. If you are using Sun 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. | # Download [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.higgins/plugins/org.eclipse.higgins.sts.binding.axis1x.service/WebContent/ConfigurationFiles/sun.config.xml?root=Technology_Project&view=co 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. If you are using Sun 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. | ||
# Create RelyingPartyDemoApp.war by right clicking RelyingPartyDemoApp project and selecting Export ... > Web > WAR file. Specify the destination for saving war file. | # Create RelyingPartyDemoApp.war by right clicking RelyingPartyDemoApp project and selecting Export ... > Web > WAR file. Specify the destination for saving war file. |
Revision as of 02:40, 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:
- Eclipse IDE 3.2 or later (see http://www.eclipse.org/)
- Web standard tools (see http://www.eclipse.org/webtools/)
- Apache Tomcat 6 (see http://tomcat.apache.org)
- Sun JDK/JRE 1.5 or later (see http://java.sun.com/javase/downloads)
- Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files (see http://java.sun.com/javase/downloads)
Setup Eclipse workspace
- Checkout org.eclipse.higgins/app/RelyingPartyDemoApp and org.eclipse.higgins/dependencies.redistributable projects to Eclipse workspace from dev.eclipse.org:/cvsroot/technology
- 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
- Refresh the project
- Copy your SSL keystore file and CA Root file to RelyingPartyDemoApp/WebContent folder. See How to create a keystore with test certificate if you don't have SSL certificate for the tomcat installation.
- Update RelyingPartyDemoApp/WebContent/WEB-INF/web.xml file for the following params
- keystorename to your keystore file name
- keystorepw to your keystore password
- keystoretype to your keystore type
- keystorekeyalias to your keystore alias
- keystorekeypw to your keystore key password
- securePort to the SSL port of your tomcat installation
- normalPort to the normal port of your tomcat installation
- privacyUrl to the URL of your privacy statement. This must be a valid URI.
- rootCertUrl to the URL of your CA Root location
- 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. If you are using Sun 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.
- Create RelyingPartyDemoApp.war by right clicking RelyingPartyDemoApp project and selecting Export ... > Web > WAR file. Specify the destination for saving war file.