Browse Source

Polish

pull/9544/head
Stephane Nicoll 9 years ago
parent
commit
4d6965a147
  1. 4
      spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java

4
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration.java

@ -230,10 +230,6 @@ public class SpringBootWebSecurityConfiguration { @@ -230,10 +230,6 @@ public class SpringBootWebSecurityConfiguration {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests()
.requestMatchers(
(request) -> request.getHeader("Host").equals("whatever"))
.permitAll();
http.requestMatcher(new RequestMatcher() {
@Override
public boolean matches(HttpServletRequest request) {

Loading…
Cancel
Save