Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationChanges in AuthenticationConfigBase.cs ? (upgrade DNN495 to DNN521)Changes in AuthenticationConfigBase.cs ? (upgrade DNN495 to DNN521)
Previous
 
Next
New Post
1/7/2010 9:03 PM
 

I have found changes in the file DotNetNuke.Services.Authentication.AuthenticationConfigBase.cs when I am upgrading an Authentication provider from DNN495 to DNN521

old AuthenticationConfigBase.cs (DNN495):

----------------------------------------------

using System;
using System.Collections;
using System.ComponentModel;

namespace DotNetNuke.Services.Authentication
{
    // Summary:
    //     The AuthenticationConfigBase class provides base configuration class for
    //     the Authentication providers
    public abstract class AuthenticationConfigBase
    {
        protected AuthenticationConfigBase(int portalID);

        protected int AuthenticationModuleID { get; }
        [Browsable(false)]
        public Hashtable ModuleSettings { get; }
        [Browsable(false)]
        public int PortalID { get; set; }
    }
}

--------------------------------------------------------------

 

 

New AuthenticationConfigBase.cs (DNN521)

--------------------------------------------------------------

using System;
using System.ComponentModel;

namespace DotNetNuke.Services.Authentication
{
    [Serializable]
    public abstract class AuthenticationConfigBase
    {
        protected AuthenticationConfigBase(int portalID);

        [Browsable(false)]
        public int PortalID { get; set; }
    }
}

----------------------------------------------------------

 

 

Here is the code that doesn't work anymore:

 

            ModuleController controller = new ModuleController();

            controller.UpdateModuleSetting(config.AuthenticationModuleID, "AuthenID_Enabled", config.Enabled.ToString());
            controller.UpdateModuleSetting(config.AuthenticationModuleID, "AuthenID_MerchantName", config.MerchantName);
            controller.UpdateModuleSetting(config.AuthenticationModuleID, "AuthenID_MerchantPassword", config.MerchantPassword);
            controller.UpdateModuleSetting(config.AuthenticationModuleID, "AuthenID_IncludeHelp", config.IncludeHelp.ToString());
 

 

the thing is that this site DNN495 should later be upgraded to DNN521 and if this component is working differently?

 

 
New Post
1/8/2010 11:47 AM
 

I don't have any of the DNN source code handy at the moment but is this in the actual core code or is it for one of the providers? I.E. Where are you finding the AuthenticationConfigBase.cs file?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationChanges in AuthenticationConfigBase.cs ? (upgrade DNN495 to DNN521)Changes in AuthenticationConfigBase.cs ? (upgrade DNN495 to DNN521)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out