Hi Aaron
There are many things that need to be in place when creating a Single Sign On 
for two ASP.Net 2.0 applications (which includes SharePoint).

-          Same Machine Keys

-          Need to set the Domain property of the cookie when creating a new 
cookie

-          Set the Domain property in the web.config <forms> element in the 
authentication section



I think you may be having some issues with your domain levels and therefore you 
can't share your authentication cookie.
The MOSS site doesn't need to contain the custom ASP.Net host header. E.g 
customapp.ap.au.company.com , mossau.ap.au.company.com will work

Check and double check the environment settings as one little thing different 
and cookies will not be shared.

I used the following article when setting up Single Sign On between a two 
custom asp.net apps and MOSS
http://www.codeproject.com/KB/aspnet/SingleSignon.aspx

Clayton

From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Aaron Tamblyn
Sent: Tuesday, 13 January 2009 8:42 AM
To: ozmoss@ozmoss.com
Subject: Custom Authentication provider issue

Hi,
We have struck a problem deploying a custom authentication provider for MOSS.  
Perhaps one of you has seen this before and can help?


Scenario:
=========
MOSS is used to provide Excel Services dashboards andwill be displayed in an 
iFrame inside a custom built ASP.Net  application that is located on a 
different IIS website

Custom Forms authentication provider has been developed for MOSS (Windows auth 
is not an option)

The MOSS site reads the cookie from the custom ASP.Net application. To do this, 
the MOSS site host header needs to contain the custom ASP.Net host header.
Example:
Custom ASP.Net Application:                 CustomApp.AP.AU.Company.com
MOSS Application:                    MOSSAU.CustomApp.AP.AU.Company.com


Problem:
========
The custom authentication provider works well in development but the redirect 
fails to display the SharePoint page when deployed to the test environment. The 
provider successfully authenticates the user and the redirect is called but 
then SharePoint hangs and then eventually times out.

Other info:
===========
Test environment:  MOSS SP1 (no infrastructure updates)
Custom provider and custom login page developed in VS2008 VB.Net

We are working through identifying differences between the environments and 
breaking down the code.

Find out how Prima Consulting can help you meet your Greenhouse Gas compliance 
obligations with their award winning Sustainability 
SCO2recard<http://www.prc.com.au/Sustainability.aspx> solution.

Prima Consulting - Notice
This email is intended only for the person to which it is addressed and may 
contain confidential and/or privileged material. If you are not the intended 
recipient of this message or you have received this message in error, please 
notify us immediately by return email 
(i...@prc.com.au<https://primaexc02.prc.com.au/owa/redir.aspx?URL=mailto%3ainfo%40prc.com.au>)
 or call +61 3 9639 5477 and delete the original message.
Thank you

________________________________
Support procedure: https://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.6/1888 - Release Date: 12/01/2009 
07:04 AM
--------------------------------------------------------------------------------
Support procedure: http://www.codify.com/lists/support
List address: ozmoss@ozmoss.com
Subscribe: ozmoss-subscr...@ozmoss.com
Unsubscribe: ozmoss-unsubscr...@ozmoss.com
List FAQ: http://www.codify.com/lists/ozmoss
Other lists you might want to join: http://www.codify.com/lists

Reply via email to