Hey Abani..
The code is understandable by taking in a look at both Spring Security and Spring Social examples. I would look at the latest Spring Social examples, as well as following the Spring Security examples. If you have already done that, you will be able to use Bjorn's sample code. What I needed to do, and what Bjorn makes clear, is set alwaysRemember in the rememberMeServices config...for example:
Code:
<beans:bean id="rememberMeServices" class="org.springframework.security.web.authentication.rememberme.TokenBasedRememberMeServices">
<beans:property name="userDetailsService" ref="userDetailsService"/>
<beans:property name="key" value="rememberMeKey"/>
<beans:property name="alwaysRemember" value="true"/>
</beans:bean>
There are quite a few integration steps, but with the great Spring Security and Spring Social Tutorials, it is pretty easy, and rad.
Joe