jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1329095 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
Date Mon, 23 Apr 2012 06:59:52 GMT
Author: angela
Date: Mon Apr 23 06:59:52 2012
New Revision: 1329095

URL: http://svn.apache.org/viewvc?rev=1329095&view=rev
Log:
OAK-50 : User Management (WIP)


Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java?rev=1329095&r1=1329094&r2=1329095&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionImpl.java
Mon Apr 23 06:59:52 2012
@@ -16,6 +16,9 @@
  */
 package org.apache.jackrabbit.oak.jcr;
 
+import org.apache.jackrabbit.api.JackrabbitSession;
+import org.apache.jackrabbit.api.security.principal.PrincipalManager;
+import org.apache.jackrabbit.api.security.user.UserManager;
 import org.apache.jackrabbit.commons.AbstractSession;
 import org.apache.jackrabbit.oak.api.Branch;
 import org.apache.jackrabbit.oak.api.CommitFailedException;
@@ -26,6 +29,7 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.xml.sax.ContentHandler;
 
+import javax.jcr.AccessDeniedException;
 import javax.jcr.Credentials;
 import javax.jcr.InvalidItemStateException;
 import javax.jcr.Node;
@@ -46,7 +50,7 @@ import java.security.AccessControlExcept
 /**
  * {@code SessionImpl}...
  */
-public class SessionImpl extends AbstractSession {
+public class SessionImpl extends AbstractSession implements JackrabbitSession {
 
     /**
      * logger instance
@@ -297,6 +301,21 @@ public class SessionImpl extends Abstrac
         throw new UnsupportedRepositoryOperationException("Retention Management is not supported.");
     }
 
+    //--------------------------------------------------< JackrabbitSession >---
+
+    @Override
+    public PrincipalManager getPrincipalManager() throws AccessDeniedException, UnsupportedRepositoryOperationException,
RepositoryException {
+        // TODO
+        throw new UnsupportedOperationException("Implementation missing");
+    }
+
+    @Override
+    public UserManager getUserManager() throws AccessDeniedException, UnsupportedRepositoryOperationException,
RepositoryException {
+        // TODO
+        throw new UnsupportedOperationException("Implementation missing");
+    }
+
+
     //--------------------------------------------------------------------------
 
     /**



Mime
View raw message