title: Integration of OAM Webgate SSO with ASP.NET
body: <p>I am working to move an ASP.NET MVC site currently using FormsAuthentication to use SSO (Webgate/OAM).</p>
  
  <p>The Webgate is installed and exposed thru an ISAPI filter on IIS and redirects to SSO page. </p>
  
  <p>In FormsAuthentication, we would get HttpContext.Current.User as IPrincipal. But with SSO authentication, IPrincipal in HttpContext.Current.User is no over available.</p>
  
  <p><a href="http://docs.oracle.com/cd/E12530_01/oam.1014/e10356/aspdotnet.htm#BIIJAHHE" rel="nofollow">This documentation from Oracle</a> says that protected ASP.Net should expect WindowsPrincipal as its IPrincipal. But replacing HttpContext.Current.User with WindowsPrincipal is not helping either.</p>
  
  <p>Is there a way I can capture the identity of authenticated user inside ASP.NET application?</p>