Luke Taylor(Migrated from SEC-924) said:
The setting of the rememberMeServices member field to use a NullRememberMeServices should be delayed until initialization of the bean, so that the property is still null when the RememberMeServicesInjectionPostProcessor comes to examine it. This will give it a chance to inject the RememberMeServices bean into the filter. Users who don’t want this behaviour will be able to inject a NullRememberMeServices bean directly.
Luke Taylor said:
I’ve moved the initialization of the rememberMeServices field to the afterPropertiesSet method, when it will be assigned a NullRememberMeServices if it is null.