|
OpenSSO Express Build 7 includes the createwar script to simplify the creation of the following specialized OpenSSO WAR files:
This script creates specialized OpenSSO WAR files by automatically executing several steps that you previously had to perform using the jar command. The createwar script is available for the following platforms:
After you unzip opensso.zip for OpenSSO Express Build 7, the script is in the following directory: zip-root/deploy_uri/deployable-war where:
For example: /downloads/opensso/deployable-war Running the createwar ScriptTo run the createwar script, follow this usage: createwar --staging|-s stagingDir --type |-t typeOfWarFile --warfile|-w warfileName [--locale|-l locale] where:
To display the createwar help: createwar -help|? [--locale|-l locale] Before You Begin Creating a Specialized WAR
Examples - Creating Specialized OpenSSO War FilesThe following examples are intended for Solaris and Linux systems. If you are on a Windows system, run the createwar.bat script and adjust the paths for Windows conventions.
Creating a Console Only WAR FileTo Create a Console Only WAR File1. Create a staging directory and extract the files from opensso.war. For example: mkdir /tmp/consolewarstaging cd /tmp/consolewarstaging jar xvf /downloads/opensso/deployable-war/opensso.war 2. Run the createwar.sh script to create a console only WAR file named console.war. You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory. cd /downloads/opensso/deployable-war ./createwar.sh -s /tmp/consolewarstaging -t console -w /tmp/console.war 3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR. Creating a Distributed Authentication UI Server WAR FileTo Create a Distributed Authentication UI Server WAR File1. Create a staging directory and extract the files from opensso.war. For example: mkdir /tmp/dawarstaging cd /tmp/dawarstaging jar xvf /downloads/opensso/deployable-war/opensso.war 2. Run the createwar.sh script to create a Distributed Authentication UI server WAR file named distauth.war. You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory. cd /downloads/opensso/deployable-war ./createwar.sh -s /tmp/dawarstaging -t distauth -w /tmp/distauth.war 3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR. Creating a Server Only (No Admin Console) WAR FileTo Create a Server Only (No Admin Console) WAR File1. Create a staging directory and extract the files from opensso.war. For example: mkdir /tmp/serveronlywarstaging cd /tmp/serveronlywarstaging jar xvf /downloads/opensso/deployable-war/opensso.war 2. Run the createwar.sh script to create a console only WAR file named serveronly.war. You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory. cd /downloads/opensso/deployable-war ./createwar.sh -s /tmp/serveronlywarstaging -t noconsole -w /tmp/serveronly.war 3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR. Creating an IDP Discovery Service WAR FileTo Create an IDP Discovery Service WAR File1. Create a staging directory and extract the files from opensso.war. For example: mkdir /tmp/idpdiscoverywarstaging cd /tmp/idpdiscoverywarstaging jar xvf /downloads/opensso/deployable-war/opensso.war 2. Run the createwar.sh script to create a IDP Discovery Service WAR file named idpdiscovery.war. You must execute createwar.sh (or createwar.bat on Windows) script in the deployable-war directory. cd /downloads/opensso/deployable-war ./createwar.sh -s /tmp/idpdiscoverywarstaging -t idpdiscovery -w /tmp/idpdiscovery.war 3. You are now ready to deploy your new WAR, as described in After You Finish Creating a Specialized WAR. After You Finish Creating a Specialized WAR
The OpenSSO Configurator creates configuration data as follows:
Note - It is highly recommended that you change the permissions of a configuration file to limit access to sensitive configuration information, such as the administrator password. Next StepsAccess the specialized OpenSSO WAR from your browser for its specific function, using the same URL from Step 3. Creating a Distributed Authentication UI Server UserBefore you configure a Distributed Authentication UI server WAR file, on the OpenSSO sserver, create a user who has the "Read and write access to all realm and policy properties" privilege. You will specify this user (and password) when you run the Configurator (distAuthConfigurator.jsp) to configure the WAR file. To Create a Distributed Authentication UI Server User
Related InformationFor information about deploying and configuring your new specialized WAR file, see the Sun OpenSSO Enterprise 8.0 Installation and Configuration Guide. |

