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 ForumsAuthenticationAuthenticationAnyone using the Multifactor Membership Provider from Brandon Haynes?Anyone using the Multifactor Membership Provider from Brandon Haynes?
Previous
 
Next
New Post
9/29/2009 5:49 PM
 

This provider sounds like a great idea. I'm testing it on my local XP machine but getting errors. Has anyone tried this on a production server?

http://dnnmultifactor.codeplex.com/

 
New Post
9/29/2009 6:31 PM
 

Hi Steve,

Sorry to hear you've having some issues with the provider.  If you would open up a work item over on the CodePlex site detailing the exact problem you're having, with as much specificity as possible, I'd be happy to investigate.

I don't believe I've tested it with 5.1.2, so it's very possible that there is a compatibility issue with this version.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
9/29/2009 6:38 PM
 

Thanks for the quick reply. I am using 5.1.2, so perhaps therein lies the error. I'll post something over at CodePlex.

 
New Post
9/29/2009 7:17 PM
 

Hi Steve,

The error you're experiencing is the result of a change in behavior between version 5.0.1 and 5.1.1; I am exchanging a decorated multifactor-enabled UserInfo object between the provider and DotNetNuke.  The decorated object does not support serialization, and this is (now) required whenever a profile change is made.

I'll try and get an updated package out early next week.  In the meantime, you can easily remedy the issue if you wish by adding a public constructor to the MultifactorUser object in Authentication Provider/Support Classes/MultifactorUser.cs, changing its visibility to public, and recompiling.

Thanks very much for bringing this to my attention!

Brandon

Edit: Actually the issue might be a little more subtle than described above; serialization only takes place when there is an underlying failure in logging.  Why you are experiencing a logging exception remains an open question.


Brandon Haynes
BrandonHaynes.org
 
New Post
10/6/2009 4:03 PM
 

Hi Brandon,

I have as well some issues with Multifactor Membership Provider - I donloaded and install last week latest DNN (5.1.1) and you module.

My task is to build our company intranet web site, but we are planning to use Digital Certificates to autenticate all our users (some sales people located in diffrent countries outside of our office), so requirement is to hide all UserID/Password of usual form autentication and use only Digital Certificate to make login transparent and seamless - we are already have other .NET system  (not DNN based) in production with exactly the same authentication.

So is it possible to hide (disable/bypass) existing form authentication and use you module for digital certificate authentication ?

Back to error I have with you module:

InnerException: The given key was not present in the dictionary.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.ThrowHelper.ThrowKeyNotFoundException
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The given key was not present in the dictionary. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at BrandonHaynes.Membership.MultifactorMembershipProvider.<GetFactorsByUser>b__4(String name) at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate) at BrandonHaynes.Membership.MultifactorMembershipProvider.MultifactorLogin(MultifactorUser user, Credential credential, UserLoginStatus& loginStatus) at BrandonHaynes.Membership.MultifactorMembershipProvider.UserLogin(Int32 portalId, String username, String password, String authType, String verificationCode, UserLoginStatus& loginStatus) at DotNetNuke.Entities.Users.UserController.ValidateUser(Int32 portalId, String Username, String Password, String authType, String VerificationCode, String PortalName, String IP, UserLoginStatus& loginStatus) at DotNetNuke.Modules.Admin.Authentication.Login.cmdLogin_Click(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String EVENT_ARGUMENT) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String EVENT_ARGUMENT) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: QVCONL01

My Config file:

 <brandonHaynes>
    <authenticationFactors>
      <factor name="Membership" type="BrandonHaynes.Membership.Factors.MembershipFactor, BrandonHaynes.Membership.MultifactorMembershipProvider" />
      <factor name="SMTP" text="Enter your one-time password:" type="BrandonHaynes.Membership.Factors.SmtpFactor, BrandonHaynes.Membership.MultifactorMembershipProvider" />
      <factor name="SMS" appId="3165534" userName="username" password="password" text="Enter your one-time password:" type="BrandonHaynes.Membership.Factors.SMSFactor, BrandonHaynes.Membership.MultifactorMembershipProvider" />
      <factor name="X509" text="A valid certificate is required to access this account." type="BrandonHaynes.Membership.Factors.ClientCertificateFactor, BrandonHaynes.Membership.MultifactorMembershipProvider" />
      <factor name="YubiKey" id="" key="" text="Active your YubiKey now:" type="BrandonHaynes.Membership.Factors.YubiKeyFactor, BrandonHaynes.Membership.MultifactorMembershipProvider" />
    </authenticationFactors>
  <authenticationMap>
    <role name="HollandOffice">
      <factor name="YubiKey" />
    </role>
    <role name="UKOffice">
      <factor name="X509" />
    </role>
    <role name="Membership">
      <factor name="SMTP" />
    </role>
  </authenticationMap>
  </brandonHaynes>

Thank Brandon for your effort!

Eugene

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationAnyone using the Multifactor Membership Provider from Brandon Haynes?Anyone using the Multifactor Membership Provider from Brandon Haynes?


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