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

Relaxed JCR locking behavior

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.20
    • jcr
    • None

    Description

      Open scoped locks in JCR can be quite troublesome to use in practice. Mainly because of the requirement to remember the token generated by a lock operation. This token must be added again to the session when a unlock is called. The problematic part is where to store the token und what happens when the token is lost. In practice it is usually more desireable to allow any session autenticated for a given user to unlock the nodes for which he/she is the lock owner (identified by the jcr:lockOwner property).

      I suggest we make this a deployment option.

      Attachments

        Issue Links

          Activity

            People

              jukkaz Jukka Zitting
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: