Announcement Announcement Module
Collapse
No announcement yet.
How to rename SPRING_SECURITY_REMEMBER_ME_COOKIE Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to rename SPRING_SECURITY_REMEMBER_ME_COOKIE

    I like security through obscurity ... is there a way to rename SPRING_SECURITY_REMEMBER_ME_COOKIE?

  • #2
    Code:
        <bean id="rememberMeServices" class="org.springframework.security.ui.rememberme.TokenBasedRememberMeServices">
            <property name="userDetailsService" ref="userService"/>
            <property name="key" value="remember-me-security"/>
            <property name="cookieName" value="remember_me_cookie" />
        </bean>
    Code:
    <security:remember-me key="remember-me-security" services-ref="rememberMeServices" />

    Comment

    Working...
    X