Difference between revisions of "Windows Authentication In A Web Application"

From PresenceWiki
Jump to: navigation, search
Line 1: Line 1:
 
{{Tutorials}}
 
{{Tutorials}}
  
This document describes the processes needed to create and deploy a Presence Web Application.
+
This document describes the processes needed to Autenticate a user accessing your pages using
Contents
+
their windows username and password.
[hide]
+
  
    * 1 Prerequisites
+
This will then also enable you to track users through the site, so for instance, if they press a button on the site to action an event, you'll be able to log who actioned the event.
    * 2 Part 1: Task Creation
+
    * 3 Part 2: Web Application Creation
+
    * 4 Part 3: Deployment
+
  
[edit]
+
The advantages of this are that:-
Prerequisites
+
  
For this tutorial you will need to install and run a Servlet Engine such as Tomcat:
+
The user can use their windows username and password.
 +
The username is stored against the ip address, so that it will only need to be entered once for a machine.
 +
The httpsession variable is used so that the user only needs to login once.
 +
A session will automatically expire when no new requests have been made for a set time.
  
    * Tomcat Download Link
 
  
A full list of J2EE compliant Servlet Engines is available over at servlets.com. Each vendor may provide its own mechanism for deploying web application archives (WARs) so you should check the documentation for whichever Servlet engine you're using.
+
You can download the tasks for this example from:-
[edit]
+
Part 1: Task Creation
+
 
+
For this example we will create a simple application that asks the user's name and then returns some information about the name. For this we will need two Tasks which:
+

Revision as of 11:14, 19 August 2010

Tutorial Pages > Windows Authentication In A Web Application

This document describes the processes needed to Autenticate a user accessing your pages using their windows username and password.

This will then also enable you to track users through the site, so for instance, if they press a button on the site to action an event, you'll be able to log who actioned the event.

The advantages of this are that:-

The user can use their windows username and password. The username is stored against the ip address, so that it will only need to be entered once for a machine. The httpsession variable is used so that the user only needs to login once. A session will automatically expire when no new requests have been made for a set time.


You can download the tasks for this example from:-