how to secure specific url in spring security

Solutions on MaxInterview for how to secure specific url in spring security by the best coders in the world

showing results for - "how to secure specific url in spring security"
Hayden
25 Oct 2017
1http.authorizeRequests()
2.antMatchers("/swagger*/**").authenticated()
3.anyRequest().permitAll()
4.and()
5.csrf().disable();