Print Page | Close Window

Conversion from 2010 - 2012

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3874
Printed Date: 22-Sep-2025 at 5:25am


Topic: Conversion from 2010 - 2012
Posted By: gregweb
Subject: Conversion from 2010 - 2012
Date Posted: 04-Jan-2013 at 1:24pm
I am converting a project from DevForce 2010 to 2012. So far, so good.

I am now looking at the Security aspect. The old app used IAuthenticationProvider pretty much straight out of the old DevForce business app template along with asp.net security.

IAuthenticationProvider of course is no longer supported in 2012. What is the guidance on upgrading?
In looking at the docs, it looks like I need to update the app to use the Authenticator class.

Greg



Replies:
Posted By: kimj
Date Posted: 04-Jan-2013 at 6:54pm
That's a good question - we removed the old IAuthenticationProvider but never documented how to upgrade.
 
The IAuthenticationManager/IAuthenticationProvider was intended to provide a sort of single sign-on to applications.  It was actually deprecated in version 6.1.6 in favor of the new Authenticator class.   If you're interested, the Business Application templates in current releases of DevForce 2010 show how to use its AuthenticationManager with the Authenticator.
 
In DevForce 2012, single sign-on is provided by default if you login via the Authenticator and set its DefaultAuthenticationContext. 
 
There's more information on both the DF2010 changes (which is worth reading) here - http://drc.ideablade.com/xwiki/bin/view/Documentation/authentication-details-client - http://drc.ideablade.com/xwiki/bin/view/Documentation/authentication-details-client , and what's available in DF2012 here - http://drc.ideablade.com/devforce-2012/bin/view/Documentation/authentication-details-client - http://drc.ideablade.com/devforce-2012/bin/view/Documentation/authentication-details-client .
 


Posted By: gregweb
Date Posted: 07-Jan-2013 at 7:59am
Thanks very much, this was very helpful.

Greg



Print Page | Close Window