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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Logout ModuleCustom Logout Module
Previous
 
Next
New Post
5/21/2007 4:30 PM
 

I have recently created a module that allows my users to sign in to our CAS SSO website and authenticate to the DNN portal. If a user account does not exist for them, one is created and their profile and user account attributes are gathered from our local LDAP server.

However, I had to modify the admin\Security\logoff.aspx page in order to redirect to our SSO logout page. This breaks the core because if a new version of DNN is installed it will overwrite this page. Is there another way to hook into the logout functionality? Maybe through the authentication provider?

 
New Post
5/21/2007 10:29 PM
 

You could create your own membership provider - but that may be overkill.

Alternatively, create a custom module based on the Logout.ascx module - and a custom skin element based on the Login.ascx Skin object.

That way you  have full control over what happens without breaking the core.

Westa

 
New Post
5/22/2007 7:39 AM
 

I've already added my 2 lines of code to logout of our SSO to the logout.ascx. But when DNN gets upgraded again it might overwrite those changes. A new membership provider does not meet the SSO requirement (we've tried, believe me), so the only way that I could do the custom login was to write a module for that. That is fine because DNN allows you to specify your login page and I just put the custom login module on a hidden page and I was done. However, the same is not true for the logout page. Regardless of where the loginTabId is pointed to, you cannot change the LogoutTabId (for lack of a better term). I hope this gets fixed in future version.

 
New Post
5/22/2007 11:37 AM
 

After tracking down the code in PortalSecurity.SignOut(), I noticed it does not follow the provider pattern. PortalSecurity is a standard class that does not call into membership. It just clears out the cookies. Any ideas?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Custom Logout ModuleCustom Logout Module


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