OAK-355 Move QueryEngine reference from ContentSession to Root

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1392859 13f79535-47bb-0310-9956-ffa450edef68
OAK-41: Initial repository setup
- introduce OpenLoginContext, OpenLoginModule and OpenAccessControlContextProvider for open repository access (used by InitialContent)
- authorization now has a AccessControlContextProvider

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1392887 13f79535-47bb-0310-9956-ffa450edef68
OAK-352: Oak builder for simplified repository construction
 - added UniqueIndexHook, LuceneReindexHook to repository init

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1392888 13f79535-47bb-0310-9956-ffa450edef68
OAK-237: QueryEngine can't handle node type hierarchies

Initial implementation developed together with Alex P.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1392927 13f79535-47bb-0310-9956-ffa450edef68
OAK-356: NamespaceValidator must ignore jcr:primaryType

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1392974 13f79535-47bb-0310-9956-ffa450edef68
OAK-41: Initial repository setup
- add class loader workaround needed in OSGi environment

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1392976 13f79535-47bb-0310-9956-ffa450edef68
 OAK-91 - Implement Authentication Support (WIP)
 
 - OpenLoginModule should implement LoginModule instead of extending AbstractLoginModule as it
    doesn't make use of the functionality provided.

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

- revert recent changes (hardcoded credentials)
- move privilege registration tests to separate class
- ignore CustomPrivilegeTest as long as teardown is not complete

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

- move implementation of jackrabbit-api to user-plugin code
- remove hardcoded uservalidator from RepositoryImpl
- change UserContext#getUserValidatorProvider to return list
- adjust SessionDelegate such that user-mgt implementation is created from UserContext 
   which itself is part of the SecurityProvider -> Oak.with(SecurityProvider)
   
OAK-51 : Implement JCR Access Control Management 

- rename AccessControlContextProvider to AccessControlProvider
- add method to retrieve implementation specific validation providers associated with that implementation
- replace Oak.with(AccessControlContextProvider) by with(SecurityProvider) in order to assert that
   the various security related components are managed and maintained together
   
OAK-91 : Implement Authentication Support 

- replace Oak.with(LoginContextProvider) by with(SecurityProvider) in order to assert that
   the various security related components are managed and maintained together


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1393009 13f79535-47bb-0310-9956-ffa450edef68
javadoc, @code tags

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1393018 13f79535-47bb-0310-9956-ffa450edef68
- remove validator providers that are not built-in
- add TODO for adding SecurityProvider to the jcr Repository constructor (currently null)


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1393021 13f79535-47bb-0310-9956-ffa450edef68
AccessControlValidatorProvider no longer needs to be public, add javadoc

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

Add a new OakLoginContext interface that allows simple
authentication components like the new OpenLoginContextProvider
to avoid the somewhat complex JAAS configuration and class
loading bits.

The related JaasLoginContext class acts as a bridge between the
JAAS LoginContext class and the OakLoginContext interface.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1393038 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'trunk' of https://github.com/apache/jackrabbit-oak into trunk