Spring Social
  1. Spring Social
  2. SOCIAL-386

Filter-based equivalent to ConnectController

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Reimplementing ConnectController's functionality in the form of a servlet filter has at least a couple of benefits:

      1. It would work equally well with Spring MVC as well as other servlet-based frameworks (as opposed to ConnectController which is clearly Spring MVC).
      2. It would more easily allow customization of the connection path (whereas currently the path is hardcoded in ConnectController's @RequestMapping).
      3. It could be made to handle a scenario where the framework "realizes" that it needs a connection or scope that it doesn't have and reacts by going through the connection flow before re-attempting the original request. (ConnectController could be made to do this too, but only with some hefty redirects.)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Craig Walls
            Reporter:
            Craig Walls
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: