Commit 5a3474c7 authored by Andy Wilkinson's avatar Andy Wilkinson

Polish "Use HTTPS for external links wherever possible"

See gh-16320
parent 9fc3ac7d
...@@ -168,7 +168,8 @@ public class ReactiveOAuth2ClientAutoConfigurationTests { ...@@ -168,7 +168,8 @@ public class ReactiveOAuth2ClientAutoConfigurationTests {
@Bean @Bean
public ReactiveClientRegistrationRepository clientRegistrationRepository() { public ReactiveClientRegistrationRepository clientRegistrationRepository() {
List<ClientRegistration> registrations = new ArrayList<>(); List<ClientRegistration> registrations = new ArrayList<>();
registrations.add(getClientRegistration("first", "https://user-info-uri.com")); registrations
.add(getClientRegistration("first", "https://user-info-uri.com"));
registrations.add(getClientRegistration("second", "http://other-user-info")); registrations.add(getClientRegistration("second", "http://other-user-info"));
return new InMemoryReactiveClientRegistrationRepository(registrations); return new InMemoryReactiveClientRegistrationRepository(registrations);
} }
......
...@@ -121,7 +121,7 @@ do as they were designed before this was clarified. ...@@ -121,7 +121,7 @@ do as they were designed before this was clarified.
| https://github.com/mybatis/mybatis-3[MyBatis] | https://github.com/mybatis/mybatis-3[MyBatis]
| https://github.com/mybatis/mybatis-spring-boot | https://github.com/mybatis/mybatis-spring-boot
| http://narayana.io/[Narayana] | https://github.com/jbosstm/narayana[Narayana]
| https://github.com/snowdrop/narayana-spring-boot | https://github.com/snowdrop/narayana-spring-boot
| https://github.com/nutzam/nutz[Nutz] | https://github.com/nutzam/nutz[Nutz]
......
...@@ -121,7 +121,8 @@ public class RootUriRequestExpectationManagerTests { ...@@ -121,7 +121,8 @@ public class RootUriRequestExpectationManagerTests {
"Request URI expected:</hello> was:<https://example.com/bad>")); "Request URI expected:</hello> was:<https://example.com/bad>"));
assertThatExceptionOfType(AssertionError.class) assertThatExceptionOfType(AssertionError.class)
.isThrownBy(() -> this.manager.validateRequest(request)) .isThrownBy(() -> this.manager.validateRequest(request))
.withMessageContaining("Request URI expected:<https://example.com/hello>"); .withMessageContaining(
"Request URI expected:<https://example.com/hello>");
} }
@Test @Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment