|
Home > Archive > Microsoft Content Management Server > May 2006 > Authentication with form + Windows authentication
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 |
Authentication with form + Windows authentication
|
|
|
| Hi, i've got this situation:
Channels/
chA -> with public areas with anonymous access and rescticted
areas with
forms login.
chB -> with anonymous access disabled and windows integrated
auth. on all
pages.
i've made 2 different vs.2k3 project, one for chA(with web.config set
to use form auth) and one for chB(with web.config set to use windows
auth.) ..someone can tell me why:
1) when i'm in the intranet authenticated with domain user (same
domain set in SCA) and i want to access to chB, cms delivery to me the
login page of chA, why!!?!?(after authentication with the form the
navigation is ok, with the right privileges!!!)
2) when i log in with form in the chA, and the cookie expires before i
could log out, i have to cancell al ie coockie by ie tool/internet
option dialog before i can get again the home page of chA that don't
need auth, why?
thanks
| |
| Stefan [MSFT] 2006-05-18, 1:15 pm |
| Hi Tamer,
1) CMS does not deliver any login page. MCMS is just the datastore.
The login page is presented by ASP.NET.
If you get the ASP.NET login page from project chA I would assume that the
template or channel rendering script assigned to the channel or posting is
from project chA.
2) this is also an ASP.NET related question. Please post to an ASP.NET
related newsgroup.
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
----------------------
"Tamer" <tamer.shahin@gmail.com> wrote in message
news:1147953403.315396.204990@i39g2000cwa.googlegroups.com...
> Hi, i've got this situation:
>
> Channels/
> chA -> with public areas with anonymous access and rescticted
> areas with
> forms login.
> chB -> with anonymous access disabled and windows integrated
> auth. on all
> pages.
>
> i've made 2 different vs.2k3 project, one for chA(with web.config set
> to use form auth) and one for chB(with web.config set to use windows
> auth.) ..someone can tell me why:
>
> 1) when i'm in the intranet authenticated with domain user (same
> domain set in SCA) and i want to access to chB, cms delivery to me the
> login page of chA, why!!?!?(after authentication with the form the
> navigation is ok, with the right privileges!!!)
>
> 2) when i log in with form in the chA, and the cookie expires before i
> could log out, i have to cancell al ie coockie by ie tool/internet
> option dialog before i can get again the home page of chA that don't
> need auth, why?
>
> thanks
>
| |
|
| > 1) CMS does not deliver any login page. MCMS is just the datastore.
> The login page is presented by ASP.NET.
>
> If you get the ASP.NET login page from project chA I would assume that the
> template or channel rendering script assigned to the channel or posting is
> from project chA.
you're right! chB is a test and i re-used a template from chA.
the problem is: why asp.net delivery the login page if i set windows
authentication in chB? i ask the page in chB from intranet and logged
as the only AD user that have the right on that page.. where the
mapping beetwin IWA ticket and MCMS right group fail?how can i check /
debug it? it is all due to the fact that i have reused a chA template??
>
> 2) this is also an ASP.NET related question. Please post to an ASP.NET
> related newsgroup.
>
ok i was thinking that was an MCMS issue or something like that.
thanks stefan, i was sure that you answer me!
p.s.: i learned a lot from your book! great work! :o)
| |
| Stefan [MSFT] 2006-05-19, 7:15 am |
| Hi Tamer,
IIS doesn't bother about what you set for chB. It only looks at the template
which resides in chA.
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
----------------------
"Tamer" <tamer.shahin@gmail.com> wrote in message
news:1147980387.047252.55440@i40g2000cwc.googlegroups.com...
>
>
> you're right! chB is a test and i re-used a template from chA.
>
> the problem is: why asp.net delivery the login page if i set windows
> authentication in chB? i ask the page in chB from intranet and logged
> as the only AD user that have the right on that page.. where the
> mapping beetwin IWA ticket and MCMS right group fail?how can i check /
> debug it? it is all due to the fact that i have reused a chA template??
>
>
>
>
> ok i was thinking that was an MCMS issue or something like that.
>
> thanks stefan, i was sure that you answer me!
>
> p.s.: i learned a lot from your book! great work! :o)
>
|
|
|
|
|