This commit is contained in:
Stephane Nicoll 2017-06-16 09:26:09 +02:00
parent 2dcb441745
commit 4d6965a147
1 changed files with 0 additions and 4 deletions

View File

@ -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) {