[Mono-list] Current state of FormsAuthentication
Jesse Pasichnyk
jesse@pasichnyk.net
Wed, 2 Mar 2005 11:45:50 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0012_01C51F1D.62C816C0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit
I am working on developing an ecommerce site with mono/postgres and am
having some issues with the a Forms based security login area.
I have the directory of /Administration/ protected and a login page of
/Administration/Login.aspx set as the login page. When you try to go to
/Administration/ it tries to direct to the login page, but I get the
following:
Server error in '/' application
_____
Unauthorized
Description: Error processing request.
Error Message: HTTP 401. Unauthorized
I'm guessing this is because I explicitly need to disable protection of the
Login.aspx page, but under the MS framework, this worked fine. I just
wanted to bring up this issue, and see if this decision was made for a
reason, or if it was an accident.
Also, is there anything I should be aware of, as in non-functional parts of
the FormsAuthentication functionality in Mono 1.1.4?
Thanks in advance,
Jesse Pasichnyk
------=_NextPart_000_0012_01C51F1D.62C816C0
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
h1
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:24.0pt;
font-family:"Times New Roman";
font-weight:bold;}
h2
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:18.0pt;
font-family:"Times New Roman";
font-weight:bold;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am working on developing an ecommerce site with
mono/postgres and am having some issues with the a Forms based security =
login
area. <o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have the directory of /Administration/ protected =
and a
login page of /Administration/Login.aspx set as the login page. =
When you try
to go to /Administration/ it tries to direct to the login page, but I =
get the
following:<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<h1><b><font size=3D5 face=3D"Times New Roman"><span =
style=3D'font-size:20.0pt'>Server
error in '/' application</span></font><o:p></o:p></b></h1>
<h1 align=3Dcenter style=3D'text-align:center'><b><font size=3D6
face=3D"Times New Roman"><span style=3D'font-size:24.0pt'>
<hr size=3D2 width=3D"100%" align=3Dcenter>
</span></font></b></h1>
<h1><b><font size=3D5 face=3D"Times New Roman"><span =
style=3D'font-size:20.0pt'>Unauthorized</span></font></b><font
size=3D3><span style=3D'font-size:12.0pt'><o:p></o:p></span></font></h1>
<p class=3DMsoNormal><b><font size=3D3 face=3D"Times New Roman"><span
style=3D'font-size:12.0pt;font-weight:bold'>Description: =
</span></font></b>Error
processing request. <o:p></o:p></p>
<p><b><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
font-weight:bold'>Error Message: </span></font></b>HTTP 401. =
Unauthorized <o:p></o:p></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I’m guessing this is because I explicitly need =
to
disable protection of the Login.aspx page, but under the MS framework, =
this
worked fine. I just wanted to bring up this issue, and see if this =
decision
was made for a reason, or if it was an accident. =
<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Also, is there anything I should be aware of, as in
non-functional parts of the FormsAuthentication functionality in Mono =
1.1.4?<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks in advance,<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Jesse Pasichnyk<o:p></o:p></span></font></p>
<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
------=_NextPart_000_0012_01C51F1D.62C816C0--