Index: vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/oak1x/OakUserManagement.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/oak1x/OakUserManagement.java	(revision )
+++ vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/oak1x/OakUserManagement.java	(revision )
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jackrabbit.vault.fs.spi.impl.oak1x;
+
+import org.apache.jackrabbit.vault.fs.spi.impl.jcr20.JackrabbitUserManagement;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * <code>JackrabbitUserManagement</code>...
+ */
+public class OakUserManagement extends JackrabbitUserManagement {
+
+    /**
+     * default logger
+     */
+    private static final Logger log = LoggerFactory.getLogger(OakUserManagement.class);
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public boolean isAuthorizableNodeType(String ntName) {
+        return ntName.equals("rep:Group") || ntName.equals("rep:User") || ntName.equals("rep:SystemUser");
+    }
+}
\ No newline at end of file
Index: vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/DefaultNodeTypes.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/DefaultNodeTypes.java	(revision 1617700)
+++ vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/DefaultNodeTypes.java	(revision )
@@ -102,6 +102,12 @@
         JACKRABBIT_2X_NODE_TYPES.add("rep:RetentionManageable");
     }
 
+    public static final Set<String> OAK_1X_NODE_TYPES = new HashSet<String>(JACKRABBIT_2X_NODE_TYPES);
+    static {
+        OAK_1X_NODE_TYPES.add("rep:SystemUser");
+        // FIXME add new nodetypes defined by oak
+    }
+
     public static final Set<String> CRX_1X_NODE_TYPES = new HashSet<String>(JACKRABBIT_1X_NODE_TYPES);
 
     static {
@@ -157,5 +163,11 @@
         CRX_2X_NODE_TYPES.add("crx:NodeTypeRequestMapping");
         CRX_2X_NODE_TYPES.add("crx:PathRequestMapping");
     }
+
+    public static final Set<String> CRX_3X_NODE_TYPES = new HashSet<String>(CRX_2X_NODE_TYPES);
+    static {
+        CRX_3X_NODE_TYPES.addAll(OAK_1X_NODE_TYPES);
+    }
+
 
 }
\ No newline at end of file
Index: vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/ServiceProviderFactory.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/ServiceProviderFactory.java	(revision 1617700)
+++ vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/ServiceProviderFactory.java	(revision )
@@ -24,6 +24,9 @@
  */
 public class ServiceProviderFactory {
 
+    // FIXME: provide means to retrieve service provider impl match the desired
+    // repository version (currently jr2.x or oak1.x)
+
     private static ServiceProvider instance;
 
     public static ServiceProvider getProvider() {
\ No newline at end of file
Index: vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/jcr20/JackrabbitUserManagement.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/jcr20/JackrabbitUserManagement.java	(revision 1617700)
+++ vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/jcr20/JackrabbitUserManagement.java	(revision )
@@ -95,7 +95,7 @@
             return;
         }
         Group grp = (Group) auth;
-        for (String uuid: membersUUID) {
+        for (String uuid : membersUUID) {
             String authId = null;
             try {
                 Node authNode = session.getNodeByIdentifier(uuid);
\ No newline at end of file
Index: vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/oak1x/JcrServiceProvider.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/oak1x/JcrServiceProvider.java	(revision )
+++ vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/impl/oak1x/JcrServiceProvider.java	(revision )
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.jackrabbit.vault.fs.spi.impl.oak1x;
+
+import java.util.Set;
+
+import org.apache.jackrabbit.vault.fs.spi.DefaultNodeTypes;
+import org.apache.jackrabbit.vault.fs.spi.UserManagement;
+
+/**
+ * Implements a Service Provider for JCR 2.0 Repositories
+ */
+public class JcrServiceProvider extends org.apache.jackrabbit.vault.fs.spi.impl.jcr20.JcrServiceProvider {
+
+    private UserManagement userManagement;
+
+    /**
+     * {@inheritDoc}
+     */
+    public Set<String> getBuiltInNodeTypeNames() {
+        return DefaultNodeTypes.CRX_3X_NODE_TYPES;
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    public UserManagement getUserManagement() {
+        if (userManagement == null) {
+            userManagement = new OakUserManagement();
+        }
+        return userManagement;
+    }
+}
\ No newline at end of file
