|
Valid XHTML v1.0
Author Profile
Top Authors
| Author | # |
|---|---|
![]() |
185 |
![]() |
149 |
Anonymous User
![]() |
49 |
Kimberly Hieber
![]() |
27 |
![]() |
25 |
![]() |
20 |
Note: some conversations may be proxied or secured, thereby causing # differences
Subscribe
No Conversations ... start one
No Conversations ... start one
Tags
Popular
|
|
Single Sign On .NET Toolkit now Available
by Akif on 2008-08-15 09:41 PM read 449 times |
The .NET Toolkit for Single Sign On version 1.0 Beta is now available. This will provide .NET Web Applications with the ability to be authenticated against the User Service.
Overview
Currently it supports the following two forms of Authentication:
Pre-Requisites
Requires the .NET Framework verion 2.0 or later.
Installation
The required .NET assemblies are available at:
svn://<repository>/SecuritySolution/SharedLibs/
Retrieve these assemblies and reference them in your ASP.NET Web Application project.
Retrieve the configuration file from svn at /SecuritySolution/ClientWebApp/web.config This is a sample config file that can be used to add configuration settings to your web application's web.config file. Make a copy of the file and modify it as listed below to setup your application.
For the <provisionClient> element set the following.
For the <userClient> element set the authenticationType attribute to "Active" or "Passive" depending upon the type of authentication required.
IIS Setup
If IIS is being used for hosting your web application then the following steps need to be performed to set it up correctly.
Usage
Once the above has been performed and Active authentication has been set in the web.config file then the user will be presented with a login page. After keying in the credentials at this login page the user will be authenticated and logged on/off appropriately.
Source Code
The source code for the project is available at:
svn://<respository>/SecuritySolution/Security
This project can be retrieved and compiled using Microsoft Visual Studio 2008. This will generate the nGenera.Security.dll assembly. The log4net.dll assembly and the ICSharpCode.SharpZipLib.dll assembly are also provided.
Background
The Single Sign On capability has been implemented as a .NET HttpModule implementing the IHttpModule interface.
A detailed explanation of Http Modules can be found here.
Basically whenever an Http request is made it passes through the Http Pipeline. The pipeline consists of various stages where each stage intercepts the request and processes it accordingly. A number of these stages are Http Modules which are provided with ASP.NET and they perform different tasks on the incoming requests. At the final end of all these stages is what is called an Http Handler and each request can pass through only one Http Handler. The Http Handler is determined by the extension of the file being requested (i.e. if its a .aspx file then the aspx Http Handler will be used to process this request)
Future Updates
Log In to Reply |
Log In to Copy |
Tell a Friend
|
Trackback URL: http://www.kalivo.com/trackback/1585-single-sign-on-net-toolkit-now-available
