OAK-778: Recursive wrapping of ModifiedNodeState

Unwrap ModifiedNodeState instances passed to MemoryNodeBuilder.setNode()

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469264 13f79535-47bb-0310-9956-ffa450edef68
OAK-51 : Access Control Management (tests)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469269 13f79535-47bb-0310-9956-ffa450edef68
OAK-782: MemoryNodeBuilder.setNode() loses property values
updated test case to demonstrate cases for NodeState instances other then ModifiedNodeState

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469271 13f79535-47bb-0310-9956-ffa450edef68
OAK-782: MemoryNodeBuilder.setNode() loses property values

The base state of MutableNodeStates should follow that of the parent writeState instead of the base state of the parent builder.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469277 13f79535-47bb-0310-9956-ffa450edef68
OAK-782: MemoryNodeBuilder.setNode() loses property values
remove now obsolete comment

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469279 13f79535-47bb-0310-9956-ffa450edef68
OAK-782: MemoryNodeBuilder.setNode() loses property values
remove FIXME for assertion failure caused by this issue

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469284 13f79535-47bb-0310-9956-ffa450edef68
Increase query timeout value to prevent unnecessary test failures on slow machines.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469295 13f79535-47bb-0310-9956-ffa450edef68
OAK-781: Clarify / fix effects of MISSING_NODE as base state of NodeBuilder
Update test case according to the latest discussion on OAK-781

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469309 13f79535-47bb-0310-9956-ffa450edef68
OAK-709: Consider moving permission evaluation to the node state level
Specialise rebase handle for applying differences between secure node states on top of a non secure builder.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469339 13f79535-47bb-0310-9956-ffa450edef68
OAK-527: permissions (wip, tests)

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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469350 13f79535-47bb-0310-9956-ffa450edef68
OAK-781: Clarify / fix effects of MISSING_NODE as base state of NodeBuilder

Add exists(), getChild() and addChild() methods to NodeBuilder

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469360 13f79535-47bb-0310-9956-ffa450edef68
OAK-781: Clarify / fix effects of MISSING_NODE as base state of NodeBuilder
test cases for child(), addChild(), getChild()

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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469391 13f79535-47bb-0310-9956-ffa450edef68
OAK-51 : Access Control Management (javadoc)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469392 13f79535-47bb-0310-9956-ffa450edef68
OAK-781: Clarify / fix effects of MISSING_NODE as base state of NodeBuilder
simplify

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469395 13f79535-47bb-0310-9956-ffa450edef68
OAK-776: NodeState convenience accessors
pull builder() method up to AbstractNodeState

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469396 13f79535-47bb-0310-9956-ffa450edef68
OAK-709: Consider moving permission evaluation to the node state level
Fix MutableNodeState use of the now @Nonnull getChildNode() method

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469414 13f79535-47bb-0310-9956-ffa450edef68
OAK-709: Consider moving permission evaluation to the node state level
pull builder() method up to AbstractNodeState: revert accidental changes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1469420 13f79535-47bb-0310-9956-ffa450edef68
simplify security related tests

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