This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
public class WebSecurityConfig extends WebSecurityConfigurerAdapter | |
{ | |
@Override | |
protected void configure(HttpSecurity http) throws Exception { | |
// Put whatever your HTTP security requirements are here. | |
http | |
.authorizeRequests() | |
.anyRequest().fullyAuthenticated() | |
.and() |