OAK-619 - Lock-free MongoMK implementation (WIP)

Using Guava cache instead of custom cache implementation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1455851 13f79535-47bb-0310-9956-ffa450edef68
OAK-593: Segment-based MK

Cache Mongo journal documents locally

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1455872 13f79535-47bb-0310-9956-ffa450edef68
OAK-619 Lock-free MongoMK implementation
- make MongoMK.getNodes() synchronized for now to ensure cache consistency

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1455878 13f79535-47bb-0310-9956-ffa450edef68
OAK-619 Lock-free MongoMK implementation (MongoDB test case to support efficient diff if there are many child nodes)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1455938 13f79535-47bb-0310-9956-ffa450edef68
OAK-91 : Implement Authentication Support (wip)

- move loginmodules and configurationutil to corresponding spi-packages in order to ease package export definitions.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1455952 13f79535-47bb-0310-9956-ffa450edef68
minor improvement (replace <code> by {@code}, replace single char string)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1455998 13f79535-47bb-0310-9956-ffa450edef68
OAK-619 Lock-free MongoMK implementation (small refactorings)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456011 13f79535-47bb-0310-9956-ffa450edef68
OAK-619 - Lock-free MongoMK implementation (WIP)

Using Guava cache instead of custom cache implementation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456020 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Use OpenSecurity provider for OSGiIT

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456021 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Introduce SessionContext providing access to session scoped instances
- Introduce SessionContextProvider as temporary solution for mapping SessionDelegate instances to SessionContext instances

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456022 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Clean up checkProtected

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456023 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Clean up SessionDelegate

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456024 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Inline session refresh logic

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456025 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Simplify value access

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456026 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Remove Value and ValueFactory dependencies from Delegate implementations

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456027 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Promote SessionContext to top level class

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456028 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Remove SessionContextProvider and pass SessionContext instances to JCR implementation classes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456029 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Clean up ImportHandler and SessionImporter

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456030 13f79535-47bb-0310-9956-ffa450edef68
OAK-619 Lock-free MongoMK implementation
- need to make more methods synchronized otherwise it may happen getHeadRevision() sees intermediate state of a commit() call

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456031 13f79535-47bb-0310-9956-ffa450edef68
OAK-672: Avoid JCR APIs calling other JCR APIs
- Pass SessionContext instead of SessionDelegate into JCR instance implementations

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1456032 13f79535-47bb-0310-9956-ffa450edef68