The Client SDK package contains Makefile.clientsdk that you can use to generate and build samples and web applications. The makefile defines targets to build configuration properties, samples and web applications.
Use these steps a template for building their identity-enabled web applications.
Install the Client SDK.
Copy servlet.jar to lib directory.
If using JDK 1.3, follow these steps:
Run the stand-alone application.
Change directory to respective components within clientsdk-samples. Each has a Readme.html file explaining the changes to done and a Makefile to rebuild and run the program.
For web deployment, amclientwebapps.war is ready to be deployed. However, you can make changes in clientsdk-webapps directory and the war file can be recreated.
Custom web applications can use the following as a template to build their identity enabled web application.
properties: Generates AMConfig.properties in the temp directory that can used as a template for setting AM SDK’s properties
samples: Copies standalone samples and corresponding Makefiles to samples directory.
webapp: Generates amclientwebapps.war that can be deployed on any Servlet 2.3 compliant web container.
Sample files are included in the Client SDK. These demonstrate how to write stand-alone programs and how to write web applications. The samples are located under the directory where you generated the Makefile.clientsdk, and in the following subdirectories:
Clientsdk-samples includes samples for authentication, logging, policy and SAML stand-alone programs.Clientsdk-webapps includes samples for user management, service management, and policy programs. Each sample has a Readme.html file with instructions on compiling and running the sample program.