You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.
Unlike IIS's authentication handler, HttpSysServer doesn't use WindowsPrincipal and directly relies on the ClaimsPrincipal base class to represent non-empty principals. This inconsistency causes weird issues when using IsInRole(...) with HttpSysServer, as ClaimsPrincipal.IsInRole(...) doesn't have the additional logic implemented by WindowsPrincipal.IsInRole(...).
This line should be changed to use WindowsPrincipal instead of ClaimsPrincipal.
Unlike IIS's authentication handler, HttpSysServer doesn't use
WindowsPrincipal
and directly relies on theClaimsPrincipal
base class to represent non-empty principals. This inconsistency causes weird issues when usingIsInRole(...)
with HttpSysServer, asClaimsPrincipal.IsInRole(...)
doesn't have the additional logic implemented byWindowsPrincipal.IsInRole(...)
.This line should be changed to use
WindowsPrincipal
instead ofClaimsPrincipal
./cc @Tratcher
The text was updated successfully, but these errors were encountered: