<%@ Page language="c#" AutoEventWireup="false" ValidateRequest="false" Async="true" %> <%@ OutputCache Location="None" %> <%@ Import Namespace="System.ComponentModel" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Drawing" %> <%@ Import Namespace="System.Web" %> <%@ Import Namespace="System.Web.SessionState" %> <%@ Import Namespace="System.Web.UI" %> <%@ Import Namespace="System.Web.UI.WebControls" %> <%@ Import Namespace="System.Web.UI.HtmlControls" %> <%@ Import Namespace="System.Web.Security.SingleSignOn" %> Credential Collection
<%=Context.Request.Url.GetLeftPart(UriPartial.Path)%>
<%=LSAuthenticationObject.Current.FormContext.CurrentAction.ToString()%>
<I><%=cert.Issuer%><S><%=cert.Subject%>
<% /* * The following commented out block handles username logon synchronously. * We prefer to handle it asynchronously by registering the async operation * in Page_Load as it results in better performance. * ClientCredentialInfo creds = ClientCredentialInfo.CreateCertificateCredential(cert); LSAuthenticationObject.Current.LogonClient(creds); */ %> <% if(m_errorStatus != null) { %>

There was an error processing your credentials: <%=m_errorStatus%>

<% } %>