From 0950143214c6bd6854110a67670dfb92993b7f51 Mon Sep 17 00:00:00 2001 From: Thomas Calvert Date: Tue, 29 Sep 2015 09:43:34 +0200 Subject: [PATCH] Fixed static currentPrincipal (issue \#32) --- DotNetCasClient/CasAuthentication.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DotNetCasClient/CasAuthentication.cs b/DotNetCasClient/CasAuthentication.cs index ad6ea2e..51ec03a 100644 --- a/DotNetCasClient/CasAuthentication.cs +++ b/DotNetCasClient/CasAuthentication.cs @@ -131,7 +131,7 @@ static CasAuthentication() /// public static ICasPrincipal CurrentPrincipal { - get { return currentPrincipal; } + get { return Thread.CurrentPrincipal as ICasPrincipal; } } ///