Update authorizeHttpRequests

Closes gh-49
This commit is contained in:
Josh Cummings
2021-11-10 10:20:09 -07:00
parent 3a58daf55d
commit ca32d8e45d
19 changed files with 19 additions and 19 deletions

View File

@@ -62,7 +62,7 @@ public class RestConfig extends WebSecurityConfigurerAdapter {
protected void configure(HttpSecurity http) throws Exception {
// @formatter:off
http
.authorizeRequests((authorize) -> authorize
.authorizeHttpRequests((authorize) -> authorize
.anyRequest().authenticated()
)
.csrf((csrf) -> csrf.ignoringAntMatchers("/token"))