From a001cd4f2af13a862275f857585bde1201bc1c21 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 22 Apr 2015 12:51:19 -0700 Subject: [PATCH] React to Security logging change --- test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs b/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs index 91e95080ef..be3ae2c50e 100644 --- a/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs +++ b/test/WebSites/FiltersWebSite/AuthorizeBasicMiddleware.cs @@ -3,6 +3,7 @@ using Microsoft.AspNet.Authentication; using Microsoft.AspNet.Builder; +using Microsoft.Framework.Logging; using Microsoft.Framework.OptionsModel; namespace FiltersWebSite @@ -12,8 +13,9 @@ namespace FiltersWebSite public AuthorizeBasicMiddleware( RequestDelegate next, IOptions options, + ILoggerFactory loggerFactory, string authScheme) : - base(next, options, + base(next, options, loggerFactory, new ConfigureOptions(o => o.AuthenticationScheme = authScheme) { Name = authScheme }) { }