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 ForumsAuthenticationAuthenticationCAS Authentication?CAS Authentication?
Previous
 
Next
New Post
4/5/2012 8:55 AM
 

Hi all.  I was reading this thread, and I'm curious to know how I can implement CAS authentication in the community edition of DNN, keeping in mind that I'm totally new to DNN.  I've followed the directions on https://wiki.jasig.org/display/CASC/.Net+Cas+Client before to set up CAS authentication in a .NET application, but I'm not sure how to get DNN to use the CAS authentication instead of its own.  Following the CAS directions with DNN just gets me a situation DNN still uses its own login screen, but never actually sets the user.  As in, I can type in my DNN username and password, but the user name in the upper-right hand corner doesn't change to my name; it just says "REGISTER".

The thread I was reading makes it sound like this would be easy starting in 4.6.  Any ideas?

 
New Post
4/8/2012 3:01 PM
 
Prior to 4.6 if you wanted to make any changes as far as login providers you had to make changes to the core DotNetNuke code which was difficult. Not difficult to make the actual changes but you would have to make those changes with every release of DotNetNuke and then recompile the source code. WIth the release of 4.6 you had the ability to code a provider and then piggy back it onto the DNN authentication. I.E. The Active Directory provider authenticates the user against the Active Directory first and does one of two things. If the user exists in the DNN database it logs them in, if it doesn't then it creates the user in DNN and then logs them in.

So, what you would need to do is create an authentication provider for CAS.
 
New Post
4/8/2012 5:53 PM
 
You can disable dnn standard login and use the new CAS authentication provider as the primary login.

My shop recently developed an authentication provider name AuthXP (google for it). If you are new to writing Dnn authentication provider, check out the AuthXP blog and download source code from opensource.indyneinc.com. When we first looked into writing the provider, there was not much online info to get started. We had to read code from existing providers to understand the concept.
 
New Post
4/12/2012 2:34 PM
 
Thanks for your replies and the advice. I'll take a look at this when I have a chance.
 
New Post
4/17/2012 11:11 AM
 
Hi again.  I've downloaded the DotNetNuke.Authentication.ActiveDirectory project.  I had to make two changes in the project file to get it to load:

<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />


I also changed from using IIS to using the Visual Studio Development Server.  However, I get errors about various types not being defined, properties being inaccessible or undeclared, and others.  So many, in fact that I get "Maxmimum number of errors has been exceeded."

Any ideas?
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationCAS Authentication?CAS Authentication?


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