JAVA-20481 (#13901)
Co-authored-by: jogra <joseph.sterling.grah@miles.no>
This commit is contained in:
parent
321e1d3fcc
commit
eca8ddf2f5
@ -29,7 +29,7 @@ public class SecurityConfig {
|
|||||||
.antMatchers("/user/**")
|
.antMatchers("/user/**")
|
||||||
.hasAnyRole("USER", "ADMIN")
|
.hasAnyRole("USER", "ADMIN")
|
||||||
.antMatchers("/login/**")
|
.antMatchers("/login/**")
|
||||||
.anonymous()
|
.permitAll()
|
||||||
.anyRequest()
|
.anyRequest()
|
||||||
.authenticated()
|
.authenticated()
|
||||||
.and()
|
.and()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user