Commit dfd60bbb authored by Jakub Balga's avatar Jakub Balga
Browse files

Rest needs no authentication

parent b6d24941
Pipeline #139235 passed with stages
in 3 minutes and 9 seconds
......@@ -38,7 +38,7 @@ public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests()
.antMatchers("/assets/**", "/css/**", "/js/**", "/error", "/login").permitAll()
.antMatchers("/assets/**", "/css/**", "/js/**", "/error", "/login", "/rest/**").permitAll()
.anyRequest().authenticated()
.and()
.csrf()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment