New Posts New Posts RSS Feed: Conversion from 2010 - 2012
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Conversion from 2010 - 2012

 Post Reply Post Reply
Author
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Topic: Conversion from 2010 - 2012
    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
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post 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, and what's available in DF2012 here - http://drc.ideablade.com/devforce-2012/bin/view/Documentation/authentication-details-client.
 
Back to Top
gregweb View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 10-Sep-2009
Location: Clearwater, Fl
Posts: 253
Post Options Post Options   Quote gregweb Quote  Post ReplyReply Direct Link To This Post Posted: 07-Jan-2013 at 7:59am
Thanks very much, this was very helpful.

Greg
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down