diff --git a/config/src/main/java/org/springframework/security/config/authentication/AuthenticationManagerFactoryBean.java b/config/src/main/java/org/springframework/security/config/authentication/AuthenticationManagerFactoryBean.java index 5ea53e23d8..9376929099 100644 --- a/config/src/main/java/org/springframework/security/config/authentication/AuthenticationManagerFactoryBean.java +++ b/config/src/main/java/org/springframework/security/config/authentication/AuthenticationManagerFactoryBean.java @@ -40,7 +40,7 @@ import java.util.Arrays; public class AuthenticationManagerFactoryBean implements FactoryBean, BeanFactoryAware { private BeanFactory bf; - public static final String MISSING_BEAN_ERROR_MESSAGE = "Did you forget to add a gobal element " + public static final String MISSING_BEAN_ERROR_MESSAGE = "Did you forget to add a global element " + "to your configuration (with child elements)? Alternatively you can use the " + "authentication-manager-ref attribute on your and elements.";