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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Authentication from other applicationAuthentication from other application
Previous
 
Next
New Post
1/20/2007 6:10 AM
 

I have been trying to reach the login information from ASP.NET 2.0 application.

Followings are conditions.

1. If the user login at ASP.NET application already, allow to show all DNN pages.
2. If the user try to access to DNN page directly (no login), redirect to login page of the application.
3. I want to show the user name  in DNN page, when his is online.
4. Using same domain with virtual directories.

If someone has a experience to solve the problem, please help me!!

 
New Post
1/20/2007 9:24 AM
 
you would need to use Microsoft Membership component as well, there shall be technical documentation at msdn.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/20/2007 7:15 PM
 
Thank you for your response.
 
I'm a newbie for DNN. Please explain more detail.
 
I tried this instruction.
 
I matched machineKey and authentication mode for DNN and application.
 
    <authentication mode="Forms">
      <forms name=".DOTNETNUKE" protection="All" timeout="60" cookieless="UseCookies"/>
    </authentication>
    <machineKey
      validationKey="5C778B3DF339B18661088312E4DEC16999B00000"
      decryptionKey="824A2435CC8FDD09E69C211901AB2F321B47CDE92D9E2000"
      decryption="3DES"
      validation="SHA1"/>
The browser created ".DOTNETNUKE" key in the cookie, but DNN didn't recognize the user is authenticated.
 
Is something wrong?
 
New Post
1/31/2007 7:38 AM
 
Although it may be the reverse of what you want, DNN can control the authentication and authorization of your external application.  See the AuthIntegrator link in my sig.
 
New Post
1/31/2007 6:26 PM
 
 

Thank you!

I figured out it with litle trick. This is a note what I did.

 

1. Match authentication mode and machineKey in web.config (See above)

2. Create VIEWS of "Users", "UserRoles" and "UserPortals" which match the table structure with DNN, in original DB.

3. Rename "Users", "UserRoles" and "UserPortals" TABLES in DNN DB for backup.

3. Create SYNONYMS of "Users", "UserRoles" and "UserPortals" in DNN DB.

4. Modify relations which point to original tables.

 

* You might need SQL Server 2005 to use synonyms. Both DB have to set in one DB server. You cannot handle users from DNN.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Authentication from other applicationAuthentication from other application


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