Polish "Use HTTPS for external links wherever possible"
See gh-16320
This commit is contained in:
		
							parent
							
								
									9fc3ac7d49
								
							
						
					
					
						commit
						5a3474c7a8
					
				| 
						 | 
					@ -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.
 | 
				
			||||||
| 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 {
 | 
				
			||||||
						"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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue