From 9bd723ddada4f8f730c1b41b7fdf4a0a29da15e8 Mon Sep 17 00:00:00 2001 From: Madhura Bhave Date: Tue, 17 Jul 2018 17:05:29 -0700 Subject: [PATCH] Fix exception message Fixes gh-13783 --- .../reactive/ApplicationContextServerWebExchangeMatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/security/reactive/ApplicationContextServerWebExchangeMatcher.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/security/reactive/ApplicationContextServerWebExchangeMatcher.java index f809689fab..9e4cca6949 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/security/reactive/ApplicationContextServerWebExchangeMatcher.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/security/reactive/ApplicationContextServerWebExchangeMatcher.java @@ -88,7 +88,7 @@ public abstract class ApplicationContextServerWebExchangeMatcher @SuppressWarnings("unchecked") private Supplier createContext(ServerWebExchange exchange) { ApplicationContext context = exchange.getApplicationContext(); - Assert.state(context != null, "No WebApplicationContext found."); + Assert.state(context != null, "No ApplicationContext found."); if (this.contextClass.isInstance(context)) { return () -> (C) context; }