Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to secure specific url in spring security

http.authorizeRequests()
.antMatchers("/swagger*/**").authenticated()
.anyRequest().permitAll()
.and()
.csrf().disable();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #secure #specific #url #spring #security
ADD COMMENT
Topic
Name
8+6 =