<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pawan+singh</id>
		<title>OWASP - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pawan+singh"/>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php/Special:Contributions/Pawan_singh"/>
		<updated>2026-04-22T00:02:39Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.2</generator>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=ESAPI_Getting_Started_Guide&amp;diff=44620</id>
		<title>ESAPI Getting Started Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=ESAPI_Getting_Started_Guide&amp;diff=44620"/>
				<updated>2008-10-26T10:03:15Z</updated>
		
		<summary type="html">&lt;p&gt;Pawan singh: /* Step 4: Hello, ESAPI! */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ESAPI is very easy to use. This tutorial shows how to get a simple application working with the reference implementation of ESAPI. Please remember that the reference implementation is a simple example. The Authenticator uses a text-based password file. This is to make it easy to test ESAPI without installing a database or directory. Enterprises will want to create their own implementation of the API that works with their identity management solution.&lt;br /&gt;
&lt;br /&gt;
==Step 1: Setting up a resources directory==&lt;br /&gt;
&lt;br /&gt;
Create a directory to hold ESAPI resources. This should be a secure location as it will contain a significant amount of security information. For example, you might create a directory called &amp;quot;C:\resources&amp;quot; (Windows) and use the operating system access control mechanisms (NTFS on Windows) to restrict access.&lt;br /&gt;
&lt;br /&gt;
==Step 2: Setting ESAPI configuration properties==&lt;br /&gt;
If it isn't there already, copy the default [http://owasp-esapi-java.googlecode.com/svn/trunk/resources/ESAPI.properties ESAPI.Properties] file into your resources directory. Edit the MasterPassword property and choose a long, difficult-to-guess string, as the security of your application depends on it.&lt;br /&gt;
&lt;br /&gt;
 MasterPassword=xxxxx&lt;br /&gt;
&lt;br /&gt;
Also copy the [http://owasp-esapi-java.googlecode.com/svn/trunk/resources/antisamy-esapi.xml antisamy.xml] file into your resources directory, which defines the [[antisamy]] policy that you'll use in ESAPI.&lt;br /&gt;
&lt;br /&gt;
==Step 3: Configuring user accounts==&lt;br /&gt;
The simplest way to get started is to create an &amp;quot;admin&amp;quot; account to work with. ESAPI has a command line tool that will create your users.txt file. Type the below, for example (all one line):&lt;br /&gt;
&lt;br /&gt;
 java -Dorg.owasp.esapi.resources=&amp;quot;c:\resources&amp;quot;&lt;br /&gt;
 -classpath owasp-esapi-java-1.1.1.jar&lt;br /&gt;
 org.owasp.esapi.Authenticator yourname yourpass admin&lt;br /&gt;
&lt;br /&gt;
==Step 4: Hello, ESAPI!==&lt;br /&gt;
More information about ESAPI functions and its usage is available through the ESAPI's demo application known as ''[http://www.owasp.org/index.php/ESAPI_Swingset THE ESAPI Swingset]''.&lt;/div&gt;</summary>
		<author><name>Pawan singh</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=ESAPI_Getting_Started_Guide&amp;diff=44619</id>
		<title>ESAPI Getting Started Guide</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=ESAPI_Getting_Started_Guide&amp;diff=44619"/>
				<updated>2008-10-26T09:50:36Z</updated>
		
		<summary type="html">&lt;p&gt;Pawan singh: /* Step 5: Run */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;ESAPI is very easy to use. This tutorial shows how to get a simple application working with the reference implementation of ESAPI. Please remember that the reference implementation is a simple example. The Authenticator uses a text-based password file. This is to make it easy to test ESAPI without installing a database or directory. Enterprises will want to create their own implementation of the API that works with their identity management solution.&lt;br /&gt;
&lt;br /&gt;
==Step 1: Setting up a resources directory==&lt;br /&gt;
&lt;br /&gt;
Create a directory to hold ESAPI resources. This should be a secure location as it will contain a significant amount of security information. For example, you might create a directory called &amp;quot;C:\resources&amp;quot; (Windows) and use the operating system access control mechanisms (NTFS on Windows) to restrict access.&lt;br /&gt;
&lt;br /&gt;
==Step 2: Setting ESAPI configuration properties==&lt;br /&gt;
If it isn't there already, copy the default [http://owasp-esapi-java.googlecode.com/svn/trunk/resources/ESAPI.properties ESAPI.Properties] file into your resources directory. Edit the MasterPassword property and choose a long, difficult-to-guess string, as the security of your application depends on it.&lt;br /&gt;
&lt;br /&gt;
 MasterPassword=xxxxx&lt;br /&gt;
&lt;br /&gt;
Also copy the [http://owasp-esapi-java.googlecode.com/svn/trunk/resources/antisamy-esapi.xml antisamy.xml] file into your resources directory, which defines the [[antisamy]] policy that you'll use in ESAPI.&lt;br /&gt;
&lt;br /&gt;
==Step 3: Configuring user accounts==&lt;br /&gt;
The simplest way to get started is to create an &amp;quot;admin&amp;quot; account to work with. ESAPI has a command line tool that will create your users.txt file. Type the below, for example (all one line):&lt;br /&gt;
&lt;br /&gt;
 java -Dorg.owasp.esapi.resources=&amp;quot;c:\resources&amp;quot;&lt;br /&gt;
 -classpath owasp-esapi-java-1.1.1.jar&lt;br /&gt;
 org.owasp.esapi.Authenticator yourname yourpass admin&lt;br /&gt;
&lt;br /&gt;
==Step 4: Hello, ESAPI!==&lt;br /&gt;
You should be able to use any application container. The instructions below are for Tomcat.&lt;br /&gt;
&lt;br /&gt;
# Do a clean Tomcat 5.5/6.0 install (or use an existing container).&lt;br /&gt;
# Unzip [[Image:Test.zip]] and put the ''test'' directory in the ''webapps'' folder.&lt;br /&gt;
# Run tomcat/bin/startup.bat (or .sh).&lt;br /&gt;
&lt;br /&gt;
* You should enable SSL by uncommenting the SSL Connector in tomcat/conf/server.xml (or /etc/tomcat/server.xml, etc.). Otherwise ESAPI will warn that you're sending a session id over an insecure connection.&lt;/div&gt;</summary>
		<author><name>Pawan singh</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44573</id>
		<title>ESAPI Swingset</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44573"/>
				<updated>2008-10-24T13:23:50Z</updated>
		
		<summary type="html">&lt;p&gt;Pawan singh: /* Setup Swingset for Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The ESAPI Swingset is a web application which demonstrates the many uses of the Enterprise Security API ([[ESAPI]]).&lt;br /&gt;
&lt;br /&gt;
Swingset is now in beta stage.  Much of Swingset is still incomplete, but many ESAPI functions are working.&lt;br /&gt;
==Download/Run==&lt;br /&gt;
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 JRE or JDK installed), just edit one line of a batch file or shell script and you're ready to go!&lt;br /&gt;
&lt;br /&gt;
'''Downloads&lt;br /&gt;
&lt;br /&gt;
Note: Version 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.&lt;br /&gt;
&lt;br /&gt;
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.'''&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset/Apache Tomcat Bundle===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/Swingset__with_tomcat_03b.zip ESAPI Swingset 03b bundled with Apache Tomcat]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*Apache Tomcat version 6.0.18&lt;br /&gt;
*ESAPI Swingset application&lt;br /&gt;
*Batch file for easy loading of Apache Tomcat in Windows&lt;br /&gt;
*Shell script for easy loading of Apache Tomcat in Unix will be bundled soon&lt;br /&gt;
*Everything you need to try Swingset&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset Source Code===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.zip ESAPI Swingset 03b Source Code]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*All ESAPI Swingset source files&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset WAR file===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.war ESAPI Swingset 03b WAR file]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*The ESAPI Swingset WAR file -- just drop it in your Apache Tomcat Webapps directory and you're ready to go&lt;br /&gt;
&lt;br /&gt;
==Download the JRE or JDK==&lt;br /&gt;
If it is not already installed, please download a Java JRE or JDK version 5 or later.  &lt;br /&gt;
Please note that, Tomcat 5.5 and above uses the Eclipse JDT Java compiler for compiling&lt;br /&gt;
JSP pages.  This means you no longer need to have the complete&lt;br /&gt;
Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment&lt;br /&gt;
(JRE) is sufficient.&lt;br /&gt;
*The Java JRE is available [http://java.com/en/download/ here]&lt;br /&gt;
*The Java JDK is available [http://java.sun.com/javase/downloads/index.jsp here]&lt;br /&gt;
&lt;br /&gt;
==Setup and Run Swingset==&lt;br /&gt;
===Setup Swingset for Windows===&lt;br /&gt;
#Extract ESAPI_Swingset.zip to a directory of your choice.&lt;br /&gt;
#Open Windows Explorer and Navigate to the directory to which ESAPI_Swingset.zip was extracted&lt;br /&gt;
#Open Tomcat_6.0.18_start.bat with notepad&lt;br /&gt;
#Set either of the two, JRE_HOME or JAVA_HOME enviornment variable for Tomcat to run.&lt;br /&gt;
#Save the file&lt;br /&gt;
&lt;br /&gt;
:* To set JAVA_HOME environment variable.  You need to change the line &amp;quot;set JAVA_HOME=jdk_directory&amp;quot; to your Java install directory, where &amp;quot;jdk_directory&amp;quot; is the root of your   Java directory. For many, the line will look like: &amp;quot;set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10&amp;quot;. Please remember that Swingset requires JDK/JRE version 5 or  higher.&lt;br /&gt;
:* To set JRE_HOME change the &amp;quot;JRE_HOME=C:\Program Files\Java\jre1.6.0_10&amp;quot; so that it points to your JRE installation directory&lt;br /&gt;
&lt;br /&gt;
===Running Swingset on Windows===&lt;br /&gt;
#Navigate to the ESAPI_Swingset directory&lt;br /&gt;
#Execute Tomcat_6.0.18_start.bat.  This can be done through the command line or by double clicking the file.&lt;br /&gt;
#If you followed the installation instructions in this wiki, Tomcat should now be running&lt;br /&gt;
#Open a web browser and navigate to [http://localhost:8080/main http://localhost:8080/main]&lt;br /&gt;
#You should see the ESAPI Swingset start page&lt;br /&gt;
&lt;br /&gt;
==How Can I help with Swingset==&lt;br /&gt;
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 [[http://code.google.com/p/owasp-esapi-java-swingset/source/checkout SVN repository]].  &lt;br /&gt;
&lt;br /&gt;
If you have any ideas for how the ESAPI Swingset could be better, or if you would like to submit new code, please contact [[User:Jeff Williams|Jeff Williams]].&lt;br /&gt;
&lt;br /&gt;
==Project Sponsors== &lt;br /&gt;
The OWASP ESAPI project is sponsored by &lt;br /&gt;
[http://www.aspectsecurity.com https://www.owasp.org/images/d/d1/Aspect_logo.gif]&lt;br /&gt;
&lt;br /&gt;
[[Category: OWASP Download]]&lt;br /&gt;
[[Category: OWASP Project]]&lt;/div&gt;</summary>
		<author><name>Pawan singh</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44572</id>
		<title>ESAPI Swingset</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44572"/>
				<updated>2008-10-24T12:48:15Z</updated>
		
		<summary type="html">&lt;p&gt;Pawan singh: /* Setup Swingset for Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The ESAPI Swingset is a web application which demonstrates the many uses of the Enterprise Security API ([[ESAPI]]).&lt;br /&gt;
&lt;br /&gt;
Swingset is now in beta stage.  Much of Swingset is still incomplete, but many ESAPI functions are working.&lt;br /&gt;
==Download/Run==&lt;br /&gt;
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 JRE or JDK installed), just edit one line of a batch file or shell script and you're ready to go!&lt;br /&gt;
&lt;br /&gt;
'''Downloads&lt;br /&gt;
&lt;br /&gt;
Note: Version 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.&lt;br /&gt;
&lt;br /&gt;
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.'''&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset/Apache Tomcat Bundle===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/Swingset__with_tomcat_03b.zip ESAPI Swingset 03b bundled with Apache Tomcat]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*Apache Tomcat version 6.0.18&lt;br /&gt;
*ESAPI Swingset application&lt;br /&gt;
*Batch file for easy loading of Apache Tomcat in Windows&lt;br /&gt;
*Shell script for easy loading of Apache Tomcat in Unix will be bundled soon&lt;br /&gt;
*Everything you need to try Swingset&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset Source Code===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.zip ESAPI Swingset 03b Source Code]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*All ESAPI Swingset source files&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset WAR file===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.war ESAPI Swingset 03b WAR file]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*The ESAPI Swingset WAR file -- just drop it in your Apache Tomcat Webapps directory and you're ready to go&lt;br /&gt;
&lt;br /&gt;
==Download the JRE or JDK==&lt;br /&gt;
If it is not already installed, please download a Java JRE or JDK version 5 or later.  &lt;br /&gt;
Please note that, Tomcat 5.5 and above uses the Eclipse JDT Java compiler for compiling&lt;br /&gt;
JSP pages.  This means you no longer need to have the complete&lt;br /&gt;
Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment&lt;br /&gt;
(JRE) is sufficient.&lt;br /&gt;
*The Java JRE is available [http://java.com/en/download/ here]&lt;br /&gt;
*The Java JDK is available [http://java.sun.com/javase/downloads/index.jsp here]&lt;br /&gt;
&lt;br /&gt;
==Setup and Run Swingset==&lt;br /&gt;
===Setup Swingset for Windows===&lt;br /&gt;
#Extract ESAPI_Swingset.zip to a directory of your choice.&lt;br /&gt;
#Open Windows Explorer and Navigate to the directory to which ESAPI_Swingset.zip was extracted&lt;br /&gt;
#Open Tomcat_6.0.18_start.bat with notepad&lt;br /&gt;
#Set either of the two, JRE_HOME or JAVA_HOME enviornment variable for Tomcat to run.&lt;br /&gt;
#Save the file&lt;br /&gt;
&lt;br /&gt;
 To set JAVA_HOME environment variable.  You need to change the line &amp;quot;set JAVA_HOME=jdk_directory&amp;quot; to your Java install directory, where &amp;quot;jdk_directory&amp;quot; is the root of your Java directory.  For many, the line will look like: &amp;quot;set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10&amp;quot;.  Please remember that Swingset requires JDK/JRE version 5 or higher.&lt;br /&gt;
 To set JRE_HOME change the &amp;quot;JRE_HOME=C:\Program Files\Java\jre1.6.0_10&amp;quot; so that it points to your JRE installation directory&lt;br /&gt;
&lt;br /&gt;
===Running Swingset on Windows===&lt;br /&gt;
#Navigate to the ESAPI_Swingset directory&lt;br /&gt;
#Execute Tomcat_6.0.18_start.bat.  This can be done through the command line or by double clicking the file.&lt;br /&gt;
#If you followed the installation instructions in this wiki, Tomcat should now be running&lt;br /&gt;
#Open a web browser and navigate to [http://localhost:8080/main http://localhost:8080/main]&lt;br /&gt;
#You should see the ESAPI Swingset start page&lt;br /&gt;
&lt;br /&gt;
==How Can I help with Swingset==&lt;br /&gt;
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 [[http://code.google.com/p/owasp-esapi-java-swingset/source/checkout SVN repository]].  &lt;br /&gt;
&lt;br /&gt;
If you have any ideas for how the ESAPI Swingset could be better, or if you would like to submit new code, please contact [[User:Jeff Williams|Jeff Williams]].&lt;br /&gt;
&lt;br /&gt;
==Project Sponsors== &lt;br /&gt;
The OWASP ESAPI project is sponsored by &lt;br /&gt;
[http://www.aspectsecurity.com https://www.owasp.org/images/d/d1/Aspect_logo.gif]&lt;br /&gt;
&lt;br /&gt;
[[Category: OWASP Download]]&lt;br /&gt;
[[Category: OWASP Project]]&lt;/div&gt;</summary>
		<author><name>Pawan singh</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44571</id>
		<title>ESAPI Swingset</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44571"/>
				<updated>2008-10-24T12:33:50Z</updated>
		
		<summary type="html">&lt;p&gt;Pawan singh: /* Download the JDK */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The ESAPI Swingset is a web application which demonstrates the many uses of the Enterprise Security API ([[ESAPI]]).&lt;br /&gt;
&lt;br /&gt;
Swingset is now in beta stage.  Much of Swingset is still incomplete, but many ESAPI functions are working.&lt;br /&gt;
==Download/Run==&lt;br /&gt;
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 JRE or JDK installed), just edit one line of a batch file or shell script and you're ready to go!&lt;br /&gt;
&lt;br /&gt;
'''Downloads&lt;br /&gt;
&lt;br /&gt;
Note: Version 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.&lt;br /&gt;
&lt;br /&gt;
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.'''&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset/Apache Tomcat Bundle===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/Swingset__with_tomcat_03b.zip ESAPI Swingset 03b bundled with Apache Tomcat]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*Apache Tomcat version 6.0.18&lt;br /&gt;
*ESAPI Swingset application&lt;br /&gt;
*Batch file for easy loading of Apache Tomcat in Windows&lt;br /&gt;
*Shell script for easy loading of Apache Tomcat in Unix will be bundled soon&lt;br /&gt;
*Everything you need to try Swingset&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset Source Code===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.zip ESAPI Swingset 03b Source Code]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*All ESAPI Swingset source files&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset WAR file===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.war ESAPI Swingset 03b WAR file]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*The ESAPI Swingset WAR file -- just drop it in your Apache Tomcat Webapps directory and you're ready to go&lt;br /&gt;
&lt;br /&gt;
==Download the JRE or JDK==&lt;br /&gt;
If it is not already installed, please download a Java JRE or JDK version 5 or later.  &lt;br /&gt;
Please note that, Tomcat 5.5 and above uses the Eclipse JDT Java compiler for compiling&lt;br /&gt;
JSP pages.  This means you no longer need to have the complete&lt;br /&gt;
Java Development Kit (JDK) to run Tomcat, but a Java Runtime Environment&lt;br /&gt;
(JRE) is sufficient.&lt;br /&gt;
*The Java JRE is available [http://java.com/en/download/ here]&lt;br /&gt;
*The Java JDK is available [http://java.sun.com/javase/downloads/index.jsp here]&lt;br /&gt;
&lt;br /&gt;
==Setup and Run Swingset==&lt;br /&gt;
===Setup Swingset for Windows===&lt;br /&gt;
#Extract ESAPI_Swingset.zip to a directory of your choice.&lt;br /&gt;
#Open Windows Explorer and Navigate to the directory to which ESAPI_Swingset.zip was extracted&lt;br /&gt;
#Open Tomcat_6.0.18_start.bat with notepad&lt;br /&gt;
#Set your JAVA_HOME environment variable to a JDK version 5 or later.  To do this, change the line &amp;quot;set JAVA_HOME=jdk_directory&amp;quot; to your Java install directory, where &amp;quot;jdk_directory&amp;quot; is the root of your Java directory.  For many, the line will look like: &amp;quot;set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10&amp;quot;.  Please remember that Swingset requires JDK version 5 or higher.  A JRE installation will not work.&lt;br /&gt;
#Save the file&lt;br /&gt;
&lt;br /&gt;
===Running Swingset on Windows===&lt;br /&gt;
#Navigate to the ESAPI_Swingset directory&lt;br /&gt;
#Execute Tomcat_6.0.18_start.bat.  This can be done through the command line or by double clicking the file.&lt;br /&gt;
#If you followed the installation instructions in this wiki, Tomcat should now be running&lt;br /&gt;
#Open a web browser and navigate to [http://localhost:8080/main http://localhost:8080/main]&lt;br /&gt;
#You should see the ESAPI Swingset start page&lt;br /&gt;
&lt;br /&gt;
==How Can I help with Swingset==&lt;br /&gt;
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 [[http://code.google.com/p/owasp-esapi-java-swingset/source/checkout SVN repository]].  &lt;br /&gt;
&lt;br /&gt;
If you have any ideas for how the ESAPI Swingset could be better, or if you would like to submit new code, please contact [[User:Jeff Williams|Jeff Williams]].&lt;br /&gt;
&lt;br /&gt;
==Project Sponsors== &lt;br /&gt;
The OWASP ESAPI project is sponsored by &lt;br /&gt;
[http://www.aspectsecurity.com https://www.owasp.org/images/d/d1/Aspect_logo.gif]&lt;br /&gt;
&lt;br /&gt;
[[Category: OWASP Download]]&lt;br /&gt;
[[Category: OWASP Project]]&lt;/div&gt;</summary>
		<author><name>Pawan singh</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44570</id>
		<title>ESAPI Swingset</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=ESAPI_Swingset&amp;diff=44570"/>
				<updated>2008-10-24T12:24:51Z</updated>
		
		<summary type="html">&lt;p&gt;Pawan singh: /* Download/Run */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The ESAPI Swingset is a web application which demonstrates the many uses of the Enterprise Security API ([[ESAPI]]).&lt;br /&gt;
&lt;br /&gt;
Swingset is now in beta stage.  Much of Swingset is still incomplete, but many ESAPI functions are working.&lt;br /&gt;
==Download/Run==&lt;br /&gt;
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 JRE or JDK installed), just edit one line of a batch file or shell script and you're ready to go!&lt;br /&gt;
&lt;br /&gt;
'''Downloads&lt;br /&gt;
&lt;br /&gt;
Note: Version 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.&lt;br /&gt;
&lt;br /&gt;
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.'''&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset/Apache Tomcat Bundle===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/Swingset__with_tomcat_03b.zip ESAPI Swingset 03b bundled with Apache Tomcat]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*Apache Tomcat version 6.0.18&lt;br /&gt;
*ESAPI Swingset application&lt;br /&gt;
*Batch file for easy loading of Apache Tomcat in Windows&lt;br /&gt;
*Shell script for easy loading of Apache Tomcat in Unix will be bundled soon&lt;br /&gt;
*Everything you need to try Swingset&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset Source Code===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.zip ESAPI Swingset 03b Source Code]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*All ESAPI Swingset source files&lt;br /&gt;
&lt;br /&gt;
===ESAPI Swingset WAR file===&lt;br /&gt;
*[[http://owasp-esapi-java-swingset.googlecode.com/files/ESAPI_Swingset_03b.war ESAPI Swingset 03b WAR file]]&lt;br /&gt;
&lt;br /&gt;
'''What is included in this download?'''&lt;br /&gt;
&lt;br /&gt;
This download includes:&lt;br /&gt;
*The ESAPI Swingset WAR file -- just drop it in your Apache Tomcat Webapps directory and you're ready to go&lt;br /&gt;
&lt;br /&gt;
==Download the JDK==&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
The Java JDK is available [http://java.sun.com/javase/downloads/index.jsp here].&lt;br /&gt;
&lt;br /&gt;
==Setup and Run Swingset==&lt;br /&gt;
===Setup Swingset for Windows===&lt;br /&gt;
#Extract ESAPI_Swingset.zip to a directory of your choice.&lt;br /&gt;
#Open Windows Explorer and Navigate to the directory to which ESAPI_Swingset.zip was extracted&lt;br /&gt;
#Open Tomcat_6.0.18_start.bat with notepad&lt;br /&gt;
#Set your JAVA_HOME environment variable to a JDK version 5 or later.  To do this, change the line &amp;quot;set JAVA_HOME=jdk_directory&amp;quot; to your Java install directory, where &amp;quot;jdk_directory&amp;quot; is the root of your Java directory.  For many, the line will look like: &amp;quot;set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10&amp;quot;.  Please remember that Swingset requires JDK version 5 or higher.  A JRE installation will not work.&lt;br /&gt;
#Save the file&lt;br /&gt;
&lt;br /&gt;
===Running Swingset on Windows===&lt;br /&gt;
#Navigate to the ESAPI_Swingset directory&lt;br /&gt;
#Execute Tomcat_6.0.18_start.bat.  This can be done through the command line or by double clicking the file.&lt;br /&gt;
#If you followed the installation instructions in this wiki, Tomcat should now be running&lt;br /&gt;
#Open a web browser and navigate to [http://localhost:8080/main http://localhost:8080/main]&lt;br /&gt;
#You should see the ESAPI Swingset start page&lt;br /&gt;
&lt;br /&gt;
==How Can I help with Swingset==&lt;br /&gt;
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 [[http://code.google.com/p/owasp-esapi-java-swingset/source/checkout SVN repository]].  &lt;br /&gt;
&lt;br /&gt;
If you have any ideas for how the ESAPI Swingset could be better, or if you would like to submit new code, please contact [[User:Jeff Williams|Jeff Williams]].&lt;br /&gt;
&lt;br /&gt;
==Project Sponsors== &lt;br /&gt;
The OWASP ESAPI project is sponsored by &lt;br /&gt;
[http://www.aspectsecurity.com https://www.owasp.org/images/d/d1/Aspect_logo.gif]&lt;br /&gt;
&lt;br /&gt;
[[Category: OWASP Download]]&lt;br /&gt;
[[Category: OWASP Project]]&lt;/div&gt;</summary>
		<author><name>Pawan singh</name></author>	</entry>

	</feed>