From e2dd037b4aa1c9032bc19453db8788617b9d359e Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Sun, 29 Oct 2017 15:06:06 -0500 Subject: [PATCH] Default WebFlux headers and Logout --- .../security/config/web/server/ServerHttpSecurity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java b/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java index 84844e3d55..b16577bbc6 100644 --- a/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java +++ b/config/src/main/java/org/springframework/security/config/web/server/ServerHttpSecurity.java @@ -92,7 +92,7 @@ public class ServerHttpSecurity { private AuthorizeExchangeBuilder authorizeExchangeBuilder; - private HeaderBuilder headers; + private HeaderBuilder headers = new HeaderBuilder(); private CsrfBuilder csrf = new CsrfBuilder(); @@ -100,7 +100,7 @@ public class ServerHttpSecurity { private FormLoginBuilder formLogin; - private LogoutBuilder logout; + private LogoutBuilder logout = new LogoutBuilder(); private ReactiveAuthenticationManager authenticationManager;