|
@@ -52,7 +52,7 @@ import org.springframework.security.config.annotation.web.WebSecurityConfigurer;
|
|
* }
|
|
* }
|
|
*
|
|
*
|
|
* @Override
|
|
* @Override
|
|
- * protected void configure(AuthenticationManagerBuilder auth) {
|
|
|
|
|
|
+ * protected void configure(AuthenticationManagerBuilder auth) throws Exception {
|
|
* auth
|
|
* auth
|
|
* // enable in memory based authentication with a user named "user" and "admin"
|
|
* // enable in memory based authentication with a user named "user" and "admin"
|
|
* .inMemoryAuthentication().withUser("user").password("password").roles("USER")
|
|
* .inMemoryAuthentication().withUser("user").password("password").roles("USER")
|