Commit 4d6965a1 authored by Stephane Nicoll's avatar Stephane Nicoll

Polish

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