Как обеспечить конкретный URL в Spring Security

http.authorizeRequests()
.antMatchers("/swagger*/**").authenticated()
.anyRequest().permitAll()
.and()
.csrf().disable();
Determined Dunlin