You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the application, an error is thrown because we have not specified the UserDetailsService that should be used in the remember me configuration.
java.lang.IllegalStateException: userDetailsService cannot be null. Invoke RememberMeConfigurer#userDetailsService(UserDetailsService) or see its javadoc for alternative approaches.
We should change this behavior so that the UserDetailsService bean is picked up in the remember me configuration, without requiring the user to explicitly specify it.
Note: I've updated the description to only cover the case where a SecurityFilterChain bean is used. Adding the same changes to the WebSecurityConfigurerAdapter would break backwards compatibility.
The text was updated successfully, but these errors were encountered:
Consider the following configuration:
When starting the application, an error is thrown because we have not specified the
UserDetailsService
that should be used in the remember me configuration.We should change this behavior so that the
UserDetailsService
bean is picked up in the remember me configuration, without requiring the user to explicitly specify it.Note: I've updated the description to only cover the case where a
SecurityFilterChain
bean is used. Adding the same changes to theWebSecurityConfigurerAdapter
would break backwards compatibility.The text was updated successfully, but these errors were encountered: