ASP.NET Impersonation for the JAMS Sample Web Interface

Follow

In order for ASP.NET to properly authenticate the account that has logged into the JAMS Web Interface, the following steps should be taken:

  1. Disable Anonymous Authentication for the Virtual Directory used by JAMS Web Interface.
  2. Enable Windows Authentication for the Virtual Directory used by JAMS Web Interface.
  3. Add the following to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\Web.Config:

 

 <identity impersonate="true" />
<!-- WS: Allow only Authenticated users -->



To the following Section:

<system.net>
<defaultProxy>
<proxy usesystemdefault="true"/>
</defaultProxy>
</system.net>
<system.web>

<identity impersonate="true" />
<!-- WS: Allow only Authenticated users -->

<authorization>
<allow users="*"/>
</authorization>

Have more questions? Submit a request

Comments