Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

AuthenticationHandler should use WindowsPrincipal instead of ClaimsPrincipal #306

Closed
@kevinchalet

Description

@kevinchalet

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.

/cc @Tratcher

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions