Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-132

Handle POST requests for unauthenticated users

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Incubation
    • None
    • None

    Description

      We currently have a SavedRequest class that can handle GETs that need to be redirected to the login page. It doesn't work for POSTs though.

      I have developed a solution for the Grails Shiro Plugin that could serve as the basis for a more generic Shiro implementation:

      http://fisheye.codehaus.org/changelog/grails-plugins/grails-shiro/trunk?cs=58931

      The idea is to save the POST information, redirect to the login page, and then after a successful login, redirect back to the originally requested URL. The GET request is then replaced with the saved POST request.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pledbrook Peter Ledbrook
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: