Uploaded image for project: 'Jetspeed 2'
  1. Jetspeed 2
  2. JS2-622

When deleting a User, SSO Details left orphaned

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-dev
    • Fix Version/s: 2.2.0
    • Component/s: SSO
    • Labels:
      None

      Description

      When deleting a user with SSO dependencies...I got no error, but, the SSO Details did not delete
      Need to add code into the User Manager to delete the /sso/1/user/david/remoteuser "remote" user from the SECURITY_PRINCIPAL table when a USER is deleted, such as /user/david from SECURITY_PRINICPAL, then all /sso/1/user/david/* will get deleted
      The SSO_SITE_TO_REMOTE assoc table row was left hanging
      This should get dropped when the REMOTE security principal is dropped via cascade on this constraint:

      FOREIGN KEY (PRINCIPAL_ID) REFERENCES SECURITY_PRINCIPAL (PRINCIPAL_ID)
      ON DELETE CASCADE

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                taylor David Sean Taylor
                Reporter:
                taylor David Sean Taylor
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: