Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  WCF Service authenticating to ASPNETSQLMembershipProvider
Previous Previous
 
Next Next
New Post 9/27/2007 9:55 AM
User is offline aquamoon
3 posts
10th Ranked


WCF Service authenticating to ASPNETSQLMembershipProvider 

Hello

I created a WCF service that used the ASPNetSQLMembershipProvider and the service worked fine. I noticed that users created using the tool provided by MS created a user with password format of hash.

I installed dotnetnuke without the ASPNetSQLMembershipProvider tables and pointed it to my existing ASPNetSQLMembershipProvider tables. This worked fine except that the password format for new users created with dotnetnuke was set to Encrypted.

I then configured my WCF service with the same configuration for the ASPNetSQLMembershipProvider as the config for dotnetnuke. When my service tries to authenticate a user agains a user created in dotnetnuke I get a SecurityException.

I think im missing some sort of config in my service that will allow it to authenticate against a dotnetnuke user. What encryption algorith should I be using for my WCF service?

Does anyone have any ideas?

V

 
New Post 9/28/2007 8:30 AM
User is offline aquamoon
3 posts
10th Ranked


Re: WCF Service authenticating to ASPNETSQLMembershipProvider 

Hello again...

I fixed the problem. I had to add the following to my WCF web.config file (from the dnn web.config file) in addition to the membership provider settings.

<machineKey validationKey="x" decryptionKey="x" decryption="3DES" validation="SHA1" />

V

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  WCF Service authenticating to ASPNETSQLMembershipProvider
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP