From f48404a6a02086a0ec9516fbb3b2e6d1afb1de92 Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Wed, 18 Jul 2018 19:32:36 -0500 Subject: [PATCH] Default Log In Pages Use HTTPS for CSS Fixes: gh-5539 --- .../DefaultLoginPageConfigurerTests.groovy | 12 ++++++------ .../http/FormLoginBeanDefinitionParserTests.java | 8 ++++---- .../ui/DefaultLoginPageGeneratingFilter.java | 2 +- .../web/server/ui/LoginPageGeneratingWebFilter.java | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/src/test/groovy/org/springframework/security/config/annotation/web/configurers/DefaultLoginPageConfigurerTests.groovy b/config/src/test/groovy/org/springframework/security/config/annotation/web/configurers/DefaultLoginPageConfigurerTests.groovy index 32b7188b0f..3364d9b104 100644 --- a/config/src/test/groovy/org/springframework/security/config/annotation/web/configurers/DefaultLoginPageConfigurerTests.groovy +++ b/config/src/test/groovy/org/springframework/security/config/annotation/web/configurers/DefaultLoginPageConfigurerTests.groovy @@ -62,7 +62,7 @@ public class DefaultLoginPageConfigurerTests extends BaseSpringSpec { Please sign in - +
@@ -104,7 +104,7 @@ public class DefaultLoginPageConfigurerTests extends BaseSpringSpec { Please sign in - +
@@ -151,7 +151,7 @@ public class DefaultLoginPageConfigurerTests extends BaseSpringSpec { Please sign in - +
@@ -254,7 +254,7 @@ public class DefaultLoginPageConfigurerTests extends BaseSpringSpec { Please sign in - +
@@ -305,7 +305,7 @@ public class DefaultLoginPageConfigurerTests extends BaseSpringSpec { Please sign in - +
@@ -349,7 +349,7 @@ public class DefaultLoginPageConfigurerTests extends BaseSpringSpec { Please sign in - +
diff --git a/config/src/test/java/org/springframework/security/config/http/FormLoginBeanDefinitionParserTests.java b/config/src/test/java/org/springframework/security/config/http/FormLoginBeanDefinitionParserTests.java index 16ea49c54e..e13c68b9ea 100644 --- a/config/src/test/java/org/springframework/security/config/http/FormLoginBeanDefinitionParserTests.java +++ b/config/src/test/java/org/springframework/security/config/http/FormLoginBeanDefinitionParserTests.java @@ -64,7 +64,7 @@ public class FormLoginBeanDefinitionParserTests { + " \n" + " Please sign in\n" + " \n" - + " \n" + + " \n" + " \n" + " \n" + "
\n" @@ -110,7 +110,7 @@ public class FormLoginBeanDefinitionParserTests { + " \n" + " Please sign in\n" + " \n" - + " \n" + + " \n" + " \n" + " \n" + "
\n" @@ -147,7 +147,7 @@ public class FormLoginBeanDefinitionParserTests { + " \n" + " Please sign in\n" + " \n" - + " \n" + + " \n" + " \n" + " \n" + "
\n" @@ -190,7 +190,7 @@ public class FormLoginBeanDefinitionParserTests { + " \n" + " Please sign in\n" + " \n" - + " \n" + + " \n" + " \n" + " \n" + "
\n" diff --git a/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java b/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java index 783fe6fb01..153b527c35 100644 --- a/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java +++ b/web/src/main/java/org/springframework/security/web/authentication/ui/DefaultLoginPageGeneratingFilter.java @@ -231,7 +231,7 @@ public class DefaultLoginPageGeneratingFilter extends GenericFilterBean { + " \n" + " Please sign in\n" + " \n" - + " \n" + + " \n" + " \n" + " \n" + "
\n"); diff --git a/web/src/main/java/org/springframework/security/web/server/ui/LoginPageGeneratingWebFilter.java b/web/src/main/java/org/springframework/security/web/server/ui/LoginPageGeneratingWebFilter.java index 7bf0cfaa35..8e920af54a 100644 --- a/web/src/main/java/org/springframework/security/web/server/ui/LoginPageGeneratingWebFilter.java +++ b/web/src/main/java/org/springframework/security/web/server/ui/LoginPageGeneratingWebFilter.java @@ -101,7 +101,7 @@ public class LoginPageGeneratingWebFilter implements WebFilter { + " \n" + " Please sign in\n" + " \n" - + " \n" + + " \n" + " \n" + " \n" + "
\n"