Polish "Use HTTPS for external links wherever possible"
See gh-16319
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2017 the original author or authors.
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -26,8 +26,6 @@ import org.springframework.util.Assert;
|
||||
* Subclass of {@link SpringBeanJobFactory} that supports auto-wiring job beans.
|
||||
*
|
||||
* @author Vedran Pavic
|
||||
* @see <a href="http://blog.btmatthews.com/?p=40#comment-33797">Inject application
|
||||
* context dependencies in Quartz job beans</a>
|
||||
*/
|
||||
class AutowireCapableBeanJobFactory extends SpringBeanJobFactory {
|
||||
|
||||
|
||||
@@ -183,7 +183,8 @@ public class OAuth2WebSecurityConfigurationTests {
|
||||
@Bean
|
||||
public ClientRegistrationRepository clientRegistrationRepository() {
|
||||
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"));
|
||||
return new InMemoryClientRegistrationRepository(registrations);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user