I have recently upgraded my spring security libraries to 3.1GA (from RC3) and have noticed that the cookieName parameter on the TokenBasedRememberMeServices bean seems to be ignored. The cookie that gets created is SPRING_SECURITY_REMEMBER_ME_COOKIE regardless of what name I inject into the cookieName parameter. This used to work in previous versions, has anybody else experienced this and have I missed something
Code:<bean id="rememberMeServices" class="org.springframework.security.web.authentication.rememberme.TokenBasedRememberMeServices"> <property name="userDetailsService" ref="userDetailsService"/> <property name="tokenValiditySeconds" value="${login.cookie.duration.seconds}"/> <property name="cookieName" value="${remember.me.cookie.name}"/> <property name="key" value="xxxxxxx"/> </bean>


Reply With Quote
