6 references to SetPrincipalNoDemand
System.Web (6)
Hosting\IIS7WorkerRequest.cs (1)
2352
context.
SetPrincipalNoDemand
(GetUserPrincipal(), false /* needToUpdateNativePrincipal */);
HttpContext.cs (1)
1269
SetPrincipalNoDemand
(principal, true /*needToSetNativePrincipal*/);
Security\BackStopAuthenticationModule.cs (1)
132
context.
SetPrincipalNoDemand
(new GenericPrincipal(new GenericIdentity(String.Empty, String.Empty), new String[0]), false /*needToSetNativePrincipal*/);
Security\WindowsAuthenticationModule.cs (3)
98
e.Context.
SetPrincipalNoDemand
(AnonymousPrincipal, false /*needToSetNativePrincipal*/);
100
e.Context.
SetPrincipalNoDemand
(new WindowsPrincipal(e.Identity), false /*needToSetNativePrincipal*/);
134
context.
SetPrincipalNoDemand
(null, false /*needToSetNativePrincipal*/);