From 79bbd6a39c84a7c4d4f6eac9edf32505152db929 Mon Sep 17 00:00:00 2001 From: Eric Hudon Date: Wed, 18 Jul 2018 10:19:21 -0400 Subject: [PATCH] Fix a missing "throws Exception" for configure(AuthenticationManagerBuilder auth) The actual method signature look this this: ```java protected void configure(AuthenticationManagerBuilder auth) throws Exception ``` This PR aims at aligning the javadoc for this annotation with the actual method signature. --- .../config/annotation/web/configuration/EnableWebSecurity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/org/springframework/security/config/annotation/web/configuration/EnableWebSecurity.java b/config/src/main/java/org/springframework/security/config/annotation/web/configuration/EnableWebSecurity.java index 940d685eaf..8fc51dc26c 100644 --- a/config/src/main/java/org/springframework/security/config/annotation/web/configuration/EnableWebSecurity.java +++ b/config/src/main/java/org/springframework/security/config/annotation/web/configuration/EnableWebSecurity.java @@ -52,7 +52,7 @@ import org.springframework.security.config.annotation.web.WebSecurityConfigurer; * } * * @Override - * protected void configure(AuthenticationManagerBuilder auth) { + * protected void configure(AuthenticationManagerBuilder auth) throws Exception { * auth * // enable in memory based authentication with a user named "user" and "admin" * .inMemoryAuthentication().withUser("user").password("password").roles("USER")