BAEL-797 streamlining security configuration
This commit is contained in:
parent
e193a60dc6
commit
2ba7264f66
|
@ -28,7 +28,6 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||
.authorizeRequests()
|
||||
.antMatchers("/book-service/**", "/rating-service/**", "/login*", "/").permitAll()
|
||||
.antMatchers("/eureka/**").hasRole("ADMIN")
|
||||
.antMatchers("/home/*").authenticated()
|
||||
.anyRequest().authenticated()
|
||||
.and()
|
||||
.logout()
|
||||
|
|
Loading…
Reference in New Issue