config/src/main/java/org/springframework/security/config/annotation/web/configurers/RememberMeConfigurer.java
private AbstractRememberMeServices createTokenBasedRememberMeServices(H http,
			String key) {
		UserDetailsService userDetailsService = getUserDetailsService(http);
		return new TokenBasedRememberMeServices(key, userDetailsService);
	}
private AbstractRememberMeServices createTokenBasedRememberMeServices(H http,
			String key) {
		UserDetailsService userDetailsService = getUserDetailsService(http);
		return new TokenBasedRememberMeServices(key, userDetailsService);
	}
Creates {@link TokenBasedRememberMeServices}

@param http the {@link HttpSecurity} to lookup shared objects
@param key the {@link #key(String)}
@return the {@link TokenBasedRememberMeServices}