ESAPI Swingset

The ESAPI Swingset is a web application which demonstrates the many uses of the Enterprise Security API (ESAPI).

Swingset is now in beta stage. Much of Swingset is still incomplete, but many ESAPI functions are working.

Download/Run
This Swingset/Apache Tomcat bundle contains everything you need to get Swingset up and running in a matter of minutes. No installation is necessary (assuming you have a Java JDK installed), just edit one line of a batch file or shell script and you're ready to go!

'''Downloads

Note: Versions 02b and 03b require SSL for the login demo page. Instructions are included in the version of 03b bundled with Tomcat. If you do not know how/do not want to set up SSL on your own, it is recommended that you download the ESAPI Swingset 03b bundled with Apache Tomcat below. In the root directory of the .zip file, there is a README with very simple instructions for setting up SSL for this application. A .keystore file is provided, so user's will not have to generate their own keys.

Be aware, in some browsers, navigating to the login page will provide a warning that the digital signature provided may not be legitimate. The certificate provided is self-signed for demonstration purposes. The warning can safely be ignored for this page. More detailed information will follow in the coming weeks.'''

ESAPI Swingset/Apache Tomcat Bundle

 * [ESAPI Swingset 03b bundled with Apache Tomcat]

What is included in this download?

This download includes:
 * Apache Tomcat version 6.0.18
 * ESAPI Swingset application
 * Batch file for easy loading of Apache Tomcat in Windows
 * Shell script for easy loading of Apache Tomcat in Unix will be bundled soon
 * Everything you need to try Swingset

ESAPI Swingset Source Code

 * [ESAPI Swingset 03b Source Code]

What is included in this download?

This download includes:
 * All ESAPI Swingset source files

ESAPI Swingset WAR file

 * [ESAPI Swingset 03b WAR file]

What is included in this download? This download includes:
 * The ESAPI Swingset WAR file -- just drop it in your Apache Tomcat Webapps directory and you're ready to go

Download the JDK
If it is not already installed, please download a Java JDK version 5 or later. Tomcat, the web server you will be using, requires a JDK, rather than a JRE, due to the use of JSPs in ESAPI Swingset.

The Java JDK is available here.

Setup Swingset for Windows

 * 1) Extract ESAPI_Swingset.zip to a directory of your choice.
 * 2) Open Windows Explorer and Navigate to the directory to which ESAPI_Swingset.zip was extracted
 * 3) Open Tomcat_6.0.18_start.bat with notepad
 * 4) Set your JAVA_HOME environment variable to a JDK version 5 or later. To do this, change the line "set JAVA_HOME=jdk_directory" to your Java install directory, where "jdk_directory" is the root of your Java directory.  For many, the line will look like: "set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10".  Please remember that Swingset requires JDK version 5 or higher.  A JRE installation will not work.
 * 5) Save the file

Running Swingset on Windows

 * 1) Navigate to the ESAPI_Swingset directory
 * 2) Execute Tomcat_6.0.18_start.bat. This can be done through the command line or by double clicking the file.
 * 3) If you followed the installation instructions in this wiki, Tomcat should now be running
 * 4) Open a web browser and navigate to http://localhost:8080/main
 * 5) You should see the ESAPI Swingset start page

How Can I help with Swingset
The ESAPI Swingset is still in an early beta stage. Many pages within Swingset are still incomplete, and we could certainly use some help getting them finished. If you are interested in helping, please check out Swingset's [SVN repository].

If you have any ideas for how the ESAPI Swingset could be better, or if you would like to submit new code, please contact Jeff Williams.

Project Sponsors
The OWASP ESAPI project is sponsored by https://www.owasp.org/images/d/d1/Aspect_logo.gif