make private helper static

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1403255 13f79535-47bb-0310-9956-ffa450edef68
OAK-403 PropertyIndexLookup does not find indexes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1403651 13f79535-47bb-0310-9956-ffa450edef68
OAK-250 : Enforce jcr constraints for 'protected' items 

- move definition and effective node type related code to nodetype plugin package
- remove duplicate code in NodeTypeImpl
- add missing test for protection in NodeType#canSetProperty
- add TODO/FIXME comments in NodeTypeImpl for code that seems insufficient to me

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1403656 13f79535-47bb-0310-9956-ffa450edef68
OAK-250 : Enforce jcr constraints for 'protected' items 

- consistently exclude protected items from the validation
- isProtected renamed to isProtectedProperty and added isProtectedNode in addition
- the code in the isProtected method is basically duplicting code that was formerly present in Node/PropertyImpl and
   NodeTypeImpl.... and the check for protected residual definitions was missing.
- in addition the SNS-hack for the node type definitions now requires another hack in order to be able
   to determine the real name of the node (without the trailing index)... *speurk*
- added even more TODOs and FIXME comments in particular for the private EffectiveNodeType class that
   is present in the TypeValidator.

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

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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1403715 13f79535-47bb-0310-9956-ffa450edef68
OAK-250 : Enforce jcr constraints for 'protected' items 

- modified TypeValidator such that it uses functionality exposed by the nt-manager instead of
   having yet another place where matching property definitions are collected.
  
- added TODO regarding validations of nodes that don't have a primary node type set.

- NodeTypeCreationTest#unregister subsequently failed because nt:base could be unregistered.
   further investigation showed that didn't work properly before... the test succeeded because
   there was an illegalstateexception triggered by invalid node type definition, which looked pretty
   strange to me and might be related to the TODO above.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1403796 13f79535-47bb-0310-9956-ffa450edef68
OAK-395: Inconsistency in Node#setProperty in case of null value
- return a Property instance at the location where the property was removed
- updated tests in CRUDTest accordingly

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404014 13f79535-47bb-0310-9956-ffa450edef68
comments: refer to oak issue

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404032 13f79535-47bb-0310-9956-ffa450edef68
OAK-66: JCR Node Type Management
- use correct node type for child node based on child node definitions when no type is given on addNode()

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404038 13f79535-47bb-0310-9956-ffa450edef68
OAK-127: Support for XML imports
- create node when primary node type is known. otherwise addNode() without node type name may throw a ConstraintViolationException because there is no child node definition with a default node type

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404046 13f79535-47bb-0310-9956-ffa450edef68
OAK-411 : Validator for node type management  (wip)

- add RegistrationValidator that is responsible for validating changes made to node type definitions
- add the provider to the default set (JCR.java and Main.java)
- resolve TODO in ReadWriteNodeTypeManager

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404049 13f79535-47bb-0310-9956-ffa450edef68
OAK-50 : Implement User Management (WIP)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404050 13f79535-47bb-0310-9956-ffa450edef68
some cleanup to list of excluded tck-test

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404051 13f79535-47bb-0310-9956-ffa450edef68
OAK-394 IndexManagerHook to manage existing indexes

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404071 13f79535-47bb-0310-9956-ffa450edef68
OAK-50 : Implement User Management (WIP)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404075 13f79535-47bb-0310-9956-ffa450edef68
OAK-380: Define conversion of property values
- improve performance of to toCalendar()

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404080 13f79535-47bb-0310-9956-ffa450edef68
OAK-41: Initial repository setup
- create index for rep:members to speed up membership lookup

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

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1404092 13f79535-47bb-0310-9956-ffa450edef68
OAK-250 : Enforce jcr constraints for 'protected' items
simplify

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