I have added remember me features that handles both regular login and social login at a time.

I've added just one class (net.petrikainulainen.spring.social.signinmvc.security.service.CustomPersistentTokenBasedRememberMeServices).
This class handles rememberMeRequested decision only.
The rememberMeRequested returns original results for regular(id/password) login but returns always 'true' for social login.

I have added one checkbox input for 'rememberme' and one hidden input for 'isRegularLogin' in the login.jsp file.
I also have added rememberMe configurations and beans for that in the SecurityContext.java file and exampleApplicationContext-security.xml file.

Please ensure that you have to create a table using the script below for the persistent login before running the application.

CREATE TABLE `persistent_logins` (
  `username` varchar(64) NOT NULL,
  `series` varchar(64) NOT NULL,
  `token` varchar(64) NOT NULL,
  `last_used` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`series`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;