|
@ -37,6 +37,8 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { |
|
|
.antMatchers("/users/signup").permitAll()// |
|
|
.antMatchers("/users/signup").permitAll()// |
|
|
.antMatchers("/users/existsByUsername").permitAll()// |
|
|
.antMatchers("/users/existsByUsername").permitAll()// |
|
|
.antMatchers("/users/existsByNickname").permitAll()// |
|
|
.antMatchers("/users/existsByNickname").permitAll()// |
|
|
|
|
|
.antMatchers("/forgotpasswords/findallforgotpasswordquestions").permitAll()// |
|
|
|
|
|
.antMatchers("/forgotpasswords/loginbyusernameandanswers").permitAll()// |
|
|
.antMatchers("/h2-console/**/**").permitAll() |
|
|
.antMatchers("/h2-console/**/**").permitAll() |
|
|
// Disallow everything else.. |
|
|
// Disallow everything else.. |
|
|
.anyRequest().authenticated(); |
|
|
.anyRequest().authenticated(); |
|
|