<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.owasp.org/index.php?action=history&amp;feed=atom&amp;title=AppSensor-WS_Developer_Guide</id>
		<title>AppSensor-WS Developer Guide - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.owasp.org/index.php?action=history&amp;feed=atom&amp;title=AppSensor-WS_Developer_Guide"/>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=AppSensor-WS_Developer_Guide&amp;action=history"/>
		<updated>2026-05-23T05:48:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.2</generator>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=AppSensor-WS_Developer_Guide&amp;diff=154554&amp;oldid=prev</id>
		<title>Clerkendweller: New page</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=AppSensor-WS_Developer_Guide&amp;diff=154554&amp;oldid=prev"/>
				<updated>2013-06-27T13:47:37Z</updated>
		
		<summary type="html">&lt;p&gt;New page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= AppSensor WS Developer Guide =&lt;br /&gt;
&lt;br /&gt;
'''DRAFT PAGE'''&lt;br /&gt;
&lt;br /&gt;
The [[:Category:OWASP AppSensor Project|AppSensor Project]] describes an application layer intrusion detection system.  There is a Java implementation of this system whose basic usage can be found in the [[AppSensor_GettingStarted|Getting Started]] guide. This document describes in more technical detail for developers how to use and extend AppSensor for a specific environment and application.&lt;br /&gt;
&lt;br /&gt;
== Developer Overview ==&lt;br /&gt;
AppSensor is an application layer intrusion detection system.  &lt;br /&gt;
A fuller description of the [http://www.owasp.org/index.php/AppSensor_DetectionPoints detection points] and [http://www.owasp.org/index.php/AppSensor_ResponseActions responses] are available - note that not all of these ideas are implemented here.  The selection of detection points, where they are added, and how the application responds is application and organisation dependent.&lt;br /&gt;
&lt;br /&gt;
== Obtaining AppSensor ==&lt;br /&gt;
The appsensor.jar can be downloaded here - [??? AppSensor-0.1.3.5.jar]&lt;br /&gt;
&lt;br /&gt;
The source is available [??? here]&lt;br /&gt;
&lt;br /&gt;
== Set up the environment and source code ==&lt;br /&gt;
&lt;br /&gt;
=== Using Windows with Eclipse and Tomcat ===&lt;br /&gt;
&lt;br /&gt;
''Java and Tomcat''&lt;br /&gt;
&lt;br /&gt;
# Install jdk1.6&lt;br /&gt;
# Download Eclipse Indigo and configure it to use the jdk runtime (&amp;lt;jdk installed path&amp;gt;\jre). This is done by going to Windows → Preferences. Then expand Java from left-side and select ‘Installed JREs’ option to specify the path of your installed JRE.&lt;br /&gt;
# Install Tomcat 6&lt;br /&gt;
# Configure Tomcat Server in Eclipse by going to Windows → Preferences. Then expand Server and select ‘Runtime Environments’ to specify the path of your Tomcat installation.&lt;br /&gt;
# Install Metro on Tomcat 6 to run SOAP web services&lt;br /&gt;
# Get the JAX-WS project from code repository and place it in the folder ‘JAX-WS’ on your machine. The project is built using Maven.&lt;br /&gt;
# Copy JAX-WS RI 2.2 jar files into the path &amp;lt;JAX-WS project workspace&amp;gt;\src\main\webapp\WEB-INF\lib. These jar files allow web services related code to compile.&lt;br /&gt;
&lt;br /&gt;
''AppSensor_WS_SOAP Web service ''&lt;br /&gt;
&lt;br /&gt;
The following instructions describe how to run AppSensor_Soap_WS project using Eclipse and Maven.&lt;br /&gt;
&lt;br /&gt;
# Make sure you have Maven plugin installed on Eclipse before running Maven commands. &lt;br /&gt;
# Install AppSensor-0.1.3.5.jar and esapi-2.0.1.jar using the following Maven commands. Right-click project name and select Maven→ Run configurations. Click ‘Maven Build’ section in the right hand column and then create a new configuration.&lt;br /&gt;
## To install AppSensor: Type ‘install:install-file -Dfile=AppSensor-0.1.3.5.jar -DgroupId=org.owasp.appsensor -DartifactId=AppSensor -Dversion=0.1.3.5 -Dpackaging=jar’&lt;br /&gt;
## To install ESAPI: Type ‘install:install-file -Dfile=esapi-2.0.1.jar -DgroupId=owasp -DartifactId=ESAPI -Dversion=2.0 -Dpackaging=jar’&lt;br /&gt;
# Then right-click the project and select Maven→ Run configurations and type ‘process-classes’ as Maven ‘Goal’&lt;br /&gt;
# Right-click the project and select Maven→ Run configurations and type ‘war:war’ as Maven ‘Goal’ to generate a war package.&lt;br /&gt;
# Make sure the Tomcat server is stopped. Place the war package in the webapps folder under &amp;lt;Tomcat installation directory&amp;gt; and Rename it to JAX-WS.&lt;br /&gt;
# Generate a self signed certificate using keytool (available under &amp;lt;jdk installation&amp;gt;\bin) keytool -genkey -alias tomcat -keyalg RSA&lt;br /&gt;
# The .keystore file will get generated in your profile folder e.g., C:\Documents and Settings\&amp;lt;your username&amp;gt;&lt;br /&gt;
# Place the .keystore file at C:\. Enable the ssl HTTP connector in the server.xml file under &amp;lt;Tomcat installation directory&amp;gt;\conf&lt;br /&gt;
# Start the Tomcat server.&lt;br /&gt;
# The wsdl can be seen by typing the following URL in the browser http://localhost:8080/JAX-WS/as_soap_service?wsdl&lt;br /&gt;
&lt;br /&gt;
''Web service client''&lt;br /&gt;
&lt;br /&gt;
# Get the JAX-WS Client project from code repository and place it in the folder ‘JAX-WS Client’ on your machine.&lt;br /&gt;
# AppSensor jar file is required to install using the following command as a Maven Goal. The AppSensor-0.1.3.5.jar file should be placed at the root of JAX-WS Client folder. install:install-file -Dfile=AppSensor-0.1.3.5.jar -DgroupId=org.owasp.appsensor -DartifactId=AppSensor -Dversion=0.1.3.5 -Dpackaging=jar&lt;br /&gt;
# Add username/password as ‘myuser2/mypass2’ in tomcat-users.xml file&lt;br /&gt;
# If the code requires compilation, compile it using ‘Process-classes’ as a Maven Goal&lt;br /&gt;
# Make sure SSL connector is enabled on your Tomcat server.&lt;br /&gt;
# Run MyServiceClient_BA java file (If you are using Eclipse, this can be done by right click on the code file and select Run as Main)&lt;/div&gt;</summary>
		<author><name>Clerkendweller</name></author>	</entry>

	</feed>