Building the SSO application
We can create the itim_ws.war file by using the build scripts in the /examples directory.
Before you compile the examples, the WAS_HOME environment variable must be set to the WebSphere Application Server home directory.
To build only the SSO application, specify sso_sample as the target when you build the examples. For example, when you issue the build sso_sample command on Windows operating systems, or the ./build.sh sso_sample command on UNIX operating systems, it creates the itim_ws.war file..
You must re-create the itim_ws.war file if we change the source of the SSO application.
- Log in as a user in ISIM.
- Open a command prompt.
- Change directories to ITIM_HOME/extensions/RELEASE_VERSION/examples.
- Compile the source code. Type one of the following commands
The command compiles the Java classes into the following files.
- On Windows operating systems
build- On UNIX operating systems
build.sh
- ITIM_HOME/extensions/RELEASE_VERSION/lib/examples.jar
- ITIM_HOME/extensions/RELEASE_VERSION/examples/self_care/itim_expi.war
- ITIM_HOME/extensions/RELEASE_VERSION/examples/selfregistration/sr.war
- ITIM_HOME/extensions/RELEASE_VERSION/examples/ws/SSOSample/itim_ws.war
Some examples require that the examples.jar file is available on the classpath of the application server. See Add the examples.jar file to the class path
- Add the examples.jar file to the class path
Some examples require that the example code is run within ISIM. To run the code, the ITIM_HOME/extensions/RELEASE_VERSION/lib/examples.jar must be added to the class path of the application server.Parent topic: IBM Security Identity Manager web services in a single sign-on environment