|
Home > Archive > Microsoft Content Management Server > April 2006 > Custom httpModules and the CMS httpModules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Custom httpModules and the CMS httpModules
|
|
|
| Hello,
Having some trouble with Custom httpModules and the CMS built-in
httpModules. I created a custom authorization module that checks
cookies for a particular username/password combination and then serves
up the page if found. It also keeps track of any roles associated with
the user using the GenericPrincipal object. I've also tried to do this
with CMS. Now, for some reason, having the custom handler and the cms
handlers in the httpModule section of the web.config forces a NT
Challenge Response which i can't seem to get around. I've used admin
user/passwords and still doesnt work. If i comment out either my custom
handler, or the built-in handlers from cms, I can get into the site
with no problems.
Hope this makes sense.
Andrew J Croteau
MS Developer
| |
|
| Some additional information, I am using VS2005 and SQLServer2005.
thought this would probably be important to know as well = P.
Andrew
| |
|
| Also, I have CMS2002 SP2 with the Bug Fix 913400 installed currently on
the system.
Andrew
| |
| Stefan [MSFT] 2006-04-27, 7:27 am |
| Hi AJ,
MCMS requires a AD/NT token for authorization.
So your authentication module would need to map the authenticated user to a
valid AD/NT user.
For MCMS 2002 SP2 with ASP.NET 2.0 I would suggest to customize my
membership provider which demonstrates how to do this:
http://blogs.technet.com/stefan_gos.../03/408588.aspx
Cheers,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"AJ" <aj_croteau@yahoo.com> wrote in message
news:1145554405.312315.136330@t31g2000cwb.googlegroups.com...
> Hello,
>
> Having some trouble with Custom httpModules and the CMS built-in
> httpModules. I created a custom authorization module that checks
> cookies for a particular username/password combination and then serves
> up the page if found. It also keeps track of any roles associated with
> the user using the GenericPrincipal object. I've also tried to do this
> with CMS. Now, for some reason, having the custom handler and the cms
> handlers in the httpModule section of the web.config forces a NT
> Challenge Response which i can't seem to get around. I've used admin
> user/passwords and still doesnt work. If i comment out either my custom
> handler, or the built-in handlers from cms, I can get into the site
> with no problems.
>
> Hope this makes sense.
>
> Andrew J Croteau
> MS Developer
>
|
|
|
|
|