%@ Page language="c#" AutoEventWireup="false" ValidateRequest="false" %> <%@ 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" %>
<%=Context.Request.Url.GetLeftPart(UriPartial.Path)%> <%=LSAuthenticationObject.Current.FormContext.CurrentAction.ToString()%><% if(LSAuthenticationObject.Current.FormContext is LSPolicyFormContext) { m_targetUri = ((LSPolicyFormContext)LSAuthenticationObject.Current.FormContext).TrustingRealmUri; // // if there is no privacy policy associated with this partner, // issue token without displaying policy. // if (enhancedPrivacyTrustingRealmUris != null) { foreach(Uri p in enhancedPrivacyTrustingRealmUris) { if (m_targetUri.Equals(p)) { m_displayPolicy = true; break; } } if (!m_displayPolicy) { IssueToken(); } } // // if client is non-interactive, do not display the policy. // if (((LSPolicyFormContext)LSAuthenticationObject.Current.FormContext).IsClientNonInteractive) { IssueToken(); } } %> <% if(m_errorStatus != null) { %>
There was an error processing policy: <%=m_errorStatus%>
<% } %>