Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6146

LoginModuleImpl could also clear local state after successful commit

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0, 1.8.0
    • Component/s: core, security
    • Labels:
      None

      Description

      It seems the LoginModuleImpl clears its state in the case of an abort (via the AbstractLoginModule or a successful commit that is coming from another module.
      A minor improvement here is that the login module doesn't need to hold on to the local state until logout (when the module is discarded), if the login went through on this module, so can clear state early on this execution branch as well.

        Attachments

          Activity

            People

            • Assignee:
              stillalex Alex Deparvu
              Reporter:
              stillalex Alex Deparvu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: