mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-08 10:19:13 +00:00
Polish
This commit is contained in:
-4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user