Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.web>
<compilation debug="true" />
<customErrors mode="RemoteOnly" />
<authentication mode="Forms" >
<forms loginUrl="login.aspx" protection="All" slidingExpiration="true" timeout="10">
<credentials passwordFormat="MD5">
<user name="admin" password="098f6bcd4621d373cade4e832627b4f6" />
</credentials>
</forms>
</authentication>
</system.web>
</configuration>

View File

@@ -0,0 +1,12 @@
<%@ Page Language="C#" CodeFile="login.aspx.cs" inherits="MyLoginPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Bug #601727</title>
</head>
<body>
<form runat="server" id="form1">
hello
</form>
</body>
</html>

View File

@@ -0,0 +1,14 @@
<%@ Page Language="C#" CodeFile="login.aspx.cs" inherits="MyLoginPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Bug #601727</title>
</head>
<body>
<form runat="server" id="form1">
<asp:Login ID="loginControl" runat="server" LoginButtonType="Button"
Orientation="Vertical" CssClass="fieldlabel" RememberMeSet="false"
TitleText="Login" OnAuthenticate="loginControl_Authenticate"/>
</form>
</body>
</html>

View File

@@ -0,0 +1,13 @@
using System;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
public partial class MyLoginPage : Page
{
protected void loginControl_Authenticate(object sender, AuthenticateEventArgs e)
{
e.Authenticated = FormsAuthentication.Authenticate(loginControl.UserName, loginControl.Password);
}
}