ICEfaces
  1. ICEfaces
  2. ICE-3536

Spring Web Flow forced login redirects page to ajax request

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.8DR#1, 1.8
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces, Spring Web Flow 2.0

      Description


      The following HTTP exchange occurs when login succeeds after being forced by the application:


      POST /swf-booking-faces/pages/loginProcess HTTP/1.1
      User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_4; en-us) AppleWebKit/528.1 (KHTML, like Gecko) Version/4.0 Safari/528.1
      Content-Type: application/x-www-form-urlencoded
      Referer: http://localhost:8080/swf-booking-faces/spring/main
      Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
      Accept-Language: en-us
      Accept-Encoding: gzip, deflate
      Cookie: JSESSIONID=DE5FC7F1172F49A7B3F255CCC47F033D; COOKIE_SUPPORT=true; LOGIN=test@liferay.com; SCREEN_NAME=YPdIUumnLncgG5PDN1Oskw==; GUEST_LANGUAGE_ID=en_US; JSESSIONID=BEF93CE5A17E6350CD1367C7FE6E059D
      Content-Length: 49
      Connection: keep-alive
      Host: localhost:8080

      j_username=jeremy&j_password=atlanta&submit=Login


      HTTP/1.1 302 Moved Temporarily
      Server: Apache-Coyote/1.1
      Set-Cookie: JSESSIONID=E6C41662D4923E4C5C465B8300D6963D; Path=/swf-booking-faces
      Location: http://localhost:8080/swf-booking-faces/block/send-receive-updates
      Content-Length: 0
      Date: Tue, 16 Sep 2008 15:49:52 GMT

        Activity

        Hide
        Ted Goddard added a comment -

        Deferring to 1.8 since it is not clear whether the root cause is in ICEfaces or interaction of Spring MVC with Ajax.

        Show
        Ted Goddard added a comment - Deferring to 1.8 since it is not clear whether the root cause is in ICEfaces or interaction of Spring MVC with Ajax.
        Hide
        Igor Pustylnick added a comment -

        added always use default on security redirect

        Show
        Igor Pustylnick added a comment - added always use default on security redirect

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: