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 ForumsAuthenticationAuthenticationChange how user name is passed into this module (iChain)Change how user name is passed into this module (iChain)
Previous
 
Next
New Post
2/10/2008 5:36 PM
 

Hi,

 

We are currently attempting to change how the AD module handles its username so the one passed from a Novell iChain server is used.  Trying to keep it as simple as possible we want to create a classic asp page (appears to be an iChain issue otherwise) which redirects to an aspx page which in turn implements the form variable as a Session variable.  Then the WindowsSignin.aspx page and code can handle the relevent changes to use the new Session variable instead of Request.ServerVariables("LOGON_USER").  My question is however is that being fairly new to DNN I am having difficulty in understanding how the framework loads up, as when attempting to redirect from my asp page we are redirected straight to WindowsSignin.aspx bypassing my aspx page and not implementing the Session variable.  Any advice on how to implement this would be greatly appreciated.

 

Thanks in advance

 

Mike

 
New Post
2/10/2008 10:15 PM
 

There's a couple of ways you could accomplish this I think and maybe even more that I haven't thought of.

For the following you're going to have to do some changes to the code and recompile the AD Provider. Because the AD Provider is an HttpModule it's code gets hit when the app is loaded so if you look at OnAuthenticateRequest in AuthenticationModule.vb you'll need to change the url varialbe to point to your page in the Response.Redirect(url) or you could change Public Const AUTHENTICATION_LOGON_PAGE As String = "WindowsSignin.aspx" in Components/Config/Configuration.vb to point to your page and put your asp and aspx page in the AD Provider directory.

Or can you use an .aspx page instead of an .asp page? If you made your changes right in the Windows.aspx.vb page it would probably make things easier for you. Even though the .vb page is compiled as part of the .dll if there is one in the directory it overrides whatever code is in the .dll. That might be simpler than having to recompile the .dll.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationChange how user name is passed into this module (iChain)Change how user name is passed into this module (iChain)


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