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 "Extensible Protocol RP Website"
m (→Building) |
m (→Building) |
||
Line 45: | Line 45: | ||
https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/app | https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/app | ||
− | + | rp.servlet.sample | |
Also checkout the following project dependencies: | Also checkout the following project dependencies: |
Revision as of 15:01, 8 January 2008
Contents
Introduction
End-User Perspective
Functionality
Setup
Deployer Perspective
Download
Deploying
Create RelyingPartyDemoApp2.war by right clicking RelyingPartyDemoApp2 project in your Eclipse workspace and selecting Export ... > Web > WAR file. Save to tomcat's webapps folder.
Restart tomcat
Access https://host:port/RelyingPartyDemoApp2 in a browser. If you are using a test certificate for tomcat, then you need to install the test certificate in your browser when accessing the URL for the first time.
Note: Vista users needs to run IE7 as Administrator to install Test CA Root Certificate. Otherwise the certificate will be saved in wrong place and IE7 will keep showing certificate error.
Configuration
Copy your SSL keystore file and CA Root file to RelyingPartyDemoApp2/WebContent folder. See Generating a Private Key and a Keystore if you don't have SSL keystore for the tomcat installation.
Update RelyingPartyDemoApp2/WebContent/WEB-INF/web.xml file for the following RP site specific params
- PrivacyUrl to the URL of your privacy statement. This must be a valid URI.
- RootCertUrl to the URL of your CA Root location
Update RelyingPartyDemoApp2/WebContent/icard.properties file for the following Information Card Protocol Handler params
- keystorename to your keystore file name
- keystorepw to your keystore password
- keystoretype to your keystore type
- keystorekeyalias to your keystore alias
Developer Perspective
Architecture
Building
Checkout the following projects to Eclipse workspace from:
https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/plugins org.eclipse.higgins.rp.icard org.eclipse.higgins.rp.interface org.eclipse.higgins.rp.servlet
https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/app rp.servlet.sample
Also checkout the following project dependencies: (https://dev.eclipse.org/svnroot/technology/org.eclipse.higgins/trunk/plugins)
org.eclipse.higgins.configuration.api org.eclipse.higgins.configuration.common org.eclipse.higgins.configuration.xml org.eclipse.higgins.dependencies.redistributable org.eclipse.higgins.idas.api org.eclipse.higgins.messages org.eclipse.higgins.sts.api org.eclipse.higgins.sts.base64.apache org.eclipse.higgins.sts.common org.eclipse.higgins.sts.spi org.eclipse.higgins.sts.xmlsecurity.apache
The projects should all build. The only error that you see after this step is "Target runtime Apache Tomcat v5.5 is not defined" if you have no Tomcat servers setup in your workspace.