

CA Adapter Windows Installation Guide › Deploying and Configuring SAML Sample Applications › Deploying the Sample Application WAR Files
Deploying the Sample Application WAR Files
The Adapter installation package includes the following SAML sample applications:
- samlsampleapp.war: The main sample application.
- bankapp.war: The sample bank application.
- insuranceapp.war: The sample insurance application.
Using these modules, you can test the authentication workflows available in the SAML integration. To deploy sample application:
- Navigate to the following location:
saml_sample_app_installation_dir\sampleApplications
- Copy the samlsampleapp.war, bankapp.war, and insuranceapp.war files to your application server. For example on Apache Tomcat, the location to copy the WAR file is:
application_server_home\webapps
Apache Tomcat automatically deploys the WAR files and creates the following folders under the webapps folder:
- samlsampleapp
- bankapp
- insuranceapp
Note: Refer to the vendor documentation for deployment instructions on other supported application servers.
- (Applicable Only for JDK 1.5 on Apache Tomcat) Perform the following steps to deploy the JAR files on an Apache Tomcat installation that is using JDK 1.5:
- Browse to the location where the Adapter installer file is unzipped.
- Copy the JAR files from the endorsed folder to the location configured for the -Djava.endorsed.dirs system property.
- Restart the application server for the changes to take effect.
- (Applicable Only for IBM WebSphere 6.1) Perform the following steps to deploy WAR file on WebSphere 6.1:
- Log in to the IBM WebSphere administration console.
- Navigate to Applications -> Install New Application.
- In the How do you want to install the application section, select the Show me all installation options and parameters option.
- Click Next.
- Click Next on the Preparing for the application installation screen.
- Click Continue on the Application Security Warnings screen.
- In the Step 1: Select install options screen, select the Precompile JavaServer Pages files option.
- Click Next.
- Click Next on the Step 2: Map modules to servers screen.
- In the Step 3: Provide options to compile JSPs screen, enter the value 15 in JDK Source level column.
- Follow the on-screen instructions and complete the deployment.
- (Applicable Only for IBM WebSphere 6.1) Perform the following steps after you deploy the WAR file:
- Log in to the IBM WebSphere administration console.
- Navigate to Applications -> Enterprise Applications -> WebSphere enterprise applications.
- Click the WAR file link.
- Click the Class loading and update detection link.
- In the Class loader order section, select the Classes loaded with local class loader first option.
- In the WAR class loader policy section, select the Single class loader for application option.
- Restart IBM WebSphere.
- (Applicable Only for IBM WebSphere 7.0) Perform the following steps after you deploy the WAR file:
- Log in to the IBM WebSphere administration console.
- Navigate to Applications -> Enterprise Applications -> WebSphere enterprise applications.
- Click the WAR file link.
- Click the Class loading and update detection link.
- In the Class loader order section, select the Classes loaded with local class loader first (parent last) option.
- In the WAR class loader policy section, select the Single class loader for application option.
- Restart IBM WebSphere.
- (Applicable only for Oracle WebLogic) Perform the following steps:
- Stop the WebLogic Server.
- Create a directory named endorsed, if it does not already exist, in the <JAVA_HOME>\jre\lib directory.
- If there is an existing <JAVA_HOME>\jre\lib\endorsed directory, take a backup of the following JAR files and then delete them from the <JAVA_HOME>\jre\lib\endorsed directory:
- resolver
- serializer
- xalan
- xercesImpl
- xml-apis
- Copy the JAR files that are available in the endorsed directory of the Adapter package to the <JAVA_HOME>\jre\lib\endorsed directory.
- Start the WebLogic server.
- (Applicable Only for JBoss 5.1) Perform the following steps:
- Stop the JBoss application server.
- Navigate to the following location:
<JBOSS_Install_Home>\lib \endorsed
- If the following files are present in the <JBOSS_HOME>\lib \endorsed directory, take a backup of the files and then delete them from <JBOSS_HOME>\lib \endorsed.
- resolver
- serializer
- xalan
- xercesImpl
- xml-apis
- Copy the JAR files available in the endorsed directory of the Adapter package to the following location:
<JBOSS_HOME>\lib\endorsed
- Start the JBoss application server.
Copyright © 2013 CA.
All rights reserved.
 
|
|