Uploaded image for project: 'Spring Social'
  1. Spring Social
  2. SOCIAL-199

Please modify addConnection(...) in ConnectController to be protected instead of private

    Details

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

      Description

      Would like a way for subclasses to be able to hooking to the addConnection process by maybe perhaps not using connectionRepository (say a user gave us okay to oauth but not save his accessTokens to db/persistence layer. Would be great to hook into this method so either super.addConnection(...) if we need connectionRepository saving or do something else if we don't need to save to db at the moment. It seems since both oauth1Callback/oauth2Callbck end up calling this method to do the actual add/save it be great to hook in this step and do something else if we want to. SO please consider this or at least give us a way to getConnectionRepository() (since it's final private in parent ConnectController class).

      thank u.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              goatboy Parwiz Rezai
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: