Hey, i need to save the cookie signature of browser when remember me option is actived.

I have this security configuration:

Code:
	<http auto-config="true" use-expressions="true">
		<intercept-url pattern="/login.do" access="permitAll" />
		<intercept-url pattern="/account/*.do"
			access="hasRole('ROLE_USER')
			and fullyAuthenticated" />
		<intercept-url pattern="/**" access="hasRole('ROLE_USER')" />
		<form-login login-page="/login.do" />
		<logout invalidate-session="true" logout-url="/j_spring_security_logout"
			logout-success-url="/" />
			
		<remember-me key="jbcpPetStore" token-validity-seconds="3600" data-source-ref="dataSource"/>

	</http>

	<authentication-manager alias="authenticationManager">
		<authentication-provider user-service-ref="jdbcUserServiceCustom">
			<password-encoder ref="passwordEncoder">
				<salt-source ref="saltSource"/>
			</password-encoder>
		</authentication-provider>
	</authentication-manager>

	<jdbc:embedded-database id="dataSource" type="HSQL">
		<jdbc:script location="classpath:security-schema.sql" />
		<jdbc:script location="classpath:remember-me-schema.sql" />
		<jdbc:script location="classpath:test-users-groups-data.sql" />
	</jdbc:embedded-database>
Before i had implemented my custom TokenBasedRememberMeServices but with persistent mode i can't use the tag services-ref in the remember me element

I have to implement my custom class to persistent remember me services and extend PersistentTokenBasedRememberMeServices but i dont know how i should make this configuration on xml file and catch the events on LoginSucess and sent cookie to browser.

Any help? thanks