Announcement Announcement Module
Collapse
No announcement yet.
AbstractRememberMeServices broke in 3.x .. Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • AbstractRememberMeServices broke in 3.x ..

    Delta between 2.x and 3.x :

    protected String extractRememberMeCookie(HttpServletRequest request) {
    ... new: does not work as path is null
    if (cookieName.equals(cookies[i].getName()) &&
    requiredPath.equals(cookies[i].getPath())) {
    ... old: does work as path is not checked
    if (cookieName.equals(cookies[i].getName())) {

    Running under Jetty at least, servlet path & domain is not filled in by container
    despite my validating it is in the cookie on the browser. The cookie value is the only attribute set in the context (confirmed it is there using debugger in STS).

    I cannot override since the method is private.

    ARG!!
    - Peter

  • #2
    Just noticed ...

    that: protected String extractRememberMeCookie

    So at least i can easily extend the class in 3.x to fix...

    - Peter

    Comment


    • #3
      Use the latest version (3.0.2).

      Comment


      • #4
        Having similar issue...

        I've been having issues with the persistent remember me functionality in Spring Security 3.0.1 and Google App Engine 1.3.1. I posed a question on SO and one of the comments was that persistent remember me is broken in 3.0.1. I'm wondering if my issue is the same. I also can't upgrade to Spring Security 3.0.2 because of this issue. Perhaps I should use Spring Security 3.0.0 for the time being?

        Comment


        • #5
          Yes, it works in 3.0.0.

          Comment


          • #6
            Alternatively, use a snapshot since the GAE issue you mention should be fixed as of yesterday.

            Comment


            • #7
              Maven + Snapshot Build

              What do I use for the repository location in my pom.xml to get the snapshot jars? Also, what is the name of the version (3.0.3-SNAPSHOT or 3.0.3.SNAPSHOT)?

              Comment


              • #8
                Nevermind, I found the snapshot below.

                http://maven.springframework.org/snapshot/

                Comment

                Working...
                X