Introduce ROLE_USER_ADMIN and ROLE_GROUP_ADMIN
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / auth / JcrSecurityModel.java
index 2cf1e241a6b1842b793e8e3b601f5a634fd74ea2..ad769222bf90302142898c5a7721b53289d31a2f 100644 (file)
@@ -18,6 +18,7 @@ package org.argeo.cms.internal.auth;
 import java.util.List;
 
 import javax.jcr.Node;
+import javax.jcr.RepositoryException;
 import javax.jcr.Session;
 
 /**
@@ -25,6 +26,9 @@ import javax.jcr.Session;
  * profile.
  */
 public interface JcrSecurityModel {
+       /** Initialize the JCR security model */
+       public void init(Session adminSession) throws RepositoryException;
+
        /**
         * To be called before user details are loaded. Make sure than any logged in
         * user has a home directory with full access and a profile with information