I'm implementing muy own AccessManager and I've seen that there are lots
of READ access when I perform a node.save() after adding a new child
node. 

You can see it in the attachment access_log.txt. Sample code is provided
in Dummy.java, and repository config in repository2.xml.


-- 
Paco Avila <[EMAIL PROTECTED]>

Attachment: repository2.xml
Description: application/xml

package es.git.openkm.test;

import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Calendar;
import java.util.Hashtable;
import javax.jcr.AccessDeniedException;
import javax.jcr.InvalidItemStateException;
import javax.jcr.ItemExistsException;
import javax.jcr.ItemNotFoundException;
import javax.jcr.LoginException;
import javax.jcr.NamespaceException;
import javax.jcr.NoSuchWorkspaceException;
import javax.jcr.Node;
import javax.jcr.NodeIterator;
import javax.jcr.PathNotFoundException;
import javax.jcr.Repository;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import javax.jcr.SimpleCredentials;
import javax.jcr.UnsupportedRepositoryOperationException;
import javax.jcr.ValueFormatException;
import javax.jcr.Workspace;
import javax.jcr.lock.LockException;
import javax.jcr.nodetype.ConstraintViolationException;
import javax.jcr.nodetype.NoSuchNodeTypeException;
import javax.jcr.query.InvalidQueryException;
import javax.jcr.query.Query;
import javax.jcr.query.QueryManager;
import javax.jcr.query.QueryResult;
import javax.jcr.version.VersionException;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;

import org.apache.commons.io.FileUtils;
import org.apache.jackrabbit.core.jndi.RegistryHelper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Dummy {
	private static Logger log = LoggerFactory.getLogger(Dummy.class);
	private static String repHomeDir = "repotest2";
	
	public static void main(String[] args) throws NamingException,
			RepositoryException, FileNotFoundException {
		log.debug("*** DESTROY REPOSITORY ***");
		removeRepository();
		
		log.debug("*** GET SESSION ***");
		Session session = getSession();
		
		log.debug("*** CREATE REPOSITORY ***");
		Node myRoot = createRepository(session);
		
		// log.debug("*** GET MY ROOT NODE ***");
		// Node rootNode = session.getRootNode();
		// Node myRoot = rootNode.getNode("my:root");
		
		log.debug("*** ADD A DOCUMENT NODE ***");
		Node fileNode = myRoot.addNode("perico", "nt:file");
		Node contentNode = fileNode.addNode("jcr:content", "nt:resource");
		
		log.debug("*** ADD DOCUMENT NODE PROPERTIES ***");
		log.debug("*** PROPERTIES #1 ***");
		contentNode.setProperty("jcr:data", new ByteArrayInputStream("Texto de pruebas".getBytes()));
		log.debug("*** PROPERTIES #2 ***");
		contentNode.setProperty("jcr:mimeType", "text/plain");
		log.debug("*** PROPERTIES #3 ***");
		contentNode.setProperty("jcr:lastModified", Calendar.getInstance());
		log.debug("*** SERIALIZE THE ADDED NODE ***");
		myRoot.save();
		
/*		
		addDocument(session, okmRoot, "documentos/Orden del Temple.txt");
		addDocument(session, okmRoot, "documentos/Orden del Temple.pdf");
		addDocument(session, okmRoot, "documentos/Orden del Temple.doc");
		addDocument(session, okmRoot, "documentos/Orden del Temple.odt");
		search(session, "temple");
*/
		log.debug("*** SAY BYE ***");
		session.logout();
	}

	/**
	 * 
	 */
	private static void removeRepository() {
		try {
			FileUtils.deleteDirectory(new File(repHomeDir));
		} catch (IOException e) {
			System.err.println("No previous repo");
		}
	}

	/**
	 * @return
	 * @throws NamingException
	 * @throws RepositoryException
	 * @throws LoginException
	 * @throws NoSuchWorkspaceException
	 */
	public static Session getSession() throws NamingException,
			RepositoryException, LoginException, NoSuchWorkspaceException {
		Hashtable env = new Hashtable();
		env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory");
		env.put(Context.PROVIDER_URL, "localhost");
		InitialContext ctx = new InitialContext(env);

		// Repository config
		String configFile = "repository2.xml";
		RegistryHelper.registerRepository(ctx, "repo", configFile, repHomeDir, true);

		// Obtain the repository through a JNDI lookup
		Repository r = (Repository) ctx.lookup("repo");

		// Create a new repository session, after authenticating
		Session session = r.login(new SimpleCredentials("paco", "".toCharArray()), null);
		log.debug("Session: "+session);
		return session;
	}

	/**
	 * @param session
	 * @return
	 * @throws NamespaceException
	 * @throws UnsupportedRepositoryOperationException
	 * @throws AccessDeniedException
	 * @throws RepositoryException
	 * @throws ItemExistsException
	 * @throws PathNotFoundException
	 * @throws NoSuchNodeTypeException
	 * @throws LockException
	 * @throws VersionException
	 * @throws ConstraintViolationException
	 * @throws InvalidItemStateException
	 */
	public static Node createRepository(Session session)
			throws NamespaceException, UnsupportedRepositoryOperationException,
			AccessDeniedException, RepositoryException, ItemExistsException,
			PathNotFoundException, NoSuchNodeTypeException, LockException,
			VersionException, ConstraintViolationException,
			InvalidItemStateException {
		// Namespace registration
		Workspace ws = session.getWorkspace();
		ws.getNamespaceRegistry().registerNamespace("my", "http://www.guia-ubuntu.org/1.0";);

		// Node creation
		Node root = session.getRootNode();
		Node okmRoot = root.addNode("my:root", "nt:folder");
		okmRoot.addMixin("mix:referenceable");
		session.save();
		log.info("****** Repository created *******");
		return okmRoot;
	}

	/**
	 * @param session
	 * @param okmRoot
	 * @param fileName
	 * @throws ItemExistsException
	 * @throws PathNotFoundException
	 * @throws NoSuchNodeTypeException
	 * @throws LockException
	 * @throws VersionException
	 * @throws ConstraintViolationException
	 * @throws RepositoryException
	 * @throws ValueFormatException
	 * @throws FileNotFoundException
	 * @throws AccessDeniedException
	 * @throws InvalidItemStateException
	 */
	public static void addDocument(Session session, Node okmRoot,
			String fileName) throws ItemExistsException, PathNotFoundException,
			NoSuchNodeTypeException, LockException, VersionException,
			ConstraintViolationException, RepositoryException,
			ValueFormatException, FileNotFoundException, AccessDeniedException,
			InvalidItemStateException {
		// Add document
		Node fileNode = okmRoot.addNode(new File(fileName).getName(), "nt:file");
		fileNode.addMixin("mix:referenceable");
		fileNode.addMixin("mix:lockable");
		fileNode.addMixin("mix:versionable");
		Node resNode = fileNode.addNode("jcr:content", "nt:resource");
		resNode.setProperty("jcr:mimeType", getMime(fileName));
		resNode.setProperty("jcr:data", new FileInputStream(fileName));
		resNode.setProperty("jcr:lastModified", Calendar.getInstance());
		session.save();
		log.info("File '"+fileName+"' added.");
	}

	/**
	 * @param fileName
	 * @return
	 */
	public static String getMime(String fileName) {
		if (fileName.endsWith(".doc")) {
			return "application/msword";
		} else if (fileName.endsWith(".odt")) {
			return "application/vnd.oasis.opendocument.text";
		} else if (fileName.endsWith(".pdf")) {
			return "application/pdf";
		} else if (fileName.endsWith(".txt")) {
			return "text/plain";
		}

		return "application/octect-stream";
	}

	/**
	 * @param session
	 * @param words
	 * @throws RepositoryException
	 * @throws InvalidQueryException
	 * @throws UnsupportedRepositoryOperationException
	 * @throws ItemNotFoundException
	 * @throws AccessDeniedException
	 */
	public static void search(Session session, String words)
			throws RepositoryException, InvalidQueryException,
			UnsupportedRepositoryOperationException, ItemNotFoundException,
			AccessDeniedException {
		// Search
		String statement = "/jcr:root/my:root//element(*,nt:resource)[jcr:contains(.,'" + words + "')]";
		Workspace workspace = session.getWorkspace();
		QueryManager queryManager = workspace.getQueryManager();
		Query query = queryManager.createQuery(statement, javax.jcr.query.Query.XPATH);
		QueryResult result = query.execute();

		log.info("Search results:");
		for (NodeIterator it = result.getNodes(); it.hasNext();) {
			Node sNode = (Node) it.next();
			log.info(" * "+sNode.getParent().getName());
		}
	}
}
[main] DEBUG es.git.openkm.test.Dummy - *** DESTROY REPOSITORY ***
[main] DEBUG es.git.openkm.test.Dummy - *** GET SESSION ***
[main] INFO  org.apache.jackrabbit.core.fs.local.LocalFileSystem - 
LocalFileSystem initialized at path repotest2/repository
[main] INFO  org.apache.jackrabbit.core.fs.local.LocalFileSystem - 
LocalFileSystem initialized at path repotest2/versions
[main] INFO  org.apache.jackrabbit.core.RepositoryImpl - Starting repository...
[main] INFO  org.apache.jackrabbit.core.nodetype.NodeTypeRegistry - no custom 
node type definitions found
[main] INFO  org.apache.jackrabbit.core.fs.local.LocalFileSystem - 
LocalFileSystem initialized at path repotest2/versions/blobs
[main] INFO  org.apache.jackrabbit.core.RepositoryImpl - initializing workspace 
'default'...
[main] INFO  org.apache.jackrabbit.core.fs.local.LocalFileSystem - 
LocalFileSystem initialized at path repotest2/workspaces/default
[main] INFO  org.apache.jackrabbit.core.fs.local.LocalFileSystem - 
LocalFileSystem initialized at path repotest2/workspaces/default/blobs
[main] INFO  org.apache.jackrabbit.core.RepositoryImpl - workspace 'default' 
initialized
[main] INFO  org.apache.jackrabbit.core.query.lucene.SearchIndex - Index 
initialized: repotest2/workspaces/default/index
[main] INFO  org.apache.jackrabbit.core.RepositoryImpl - Repository started
[main] DEBUG es.git.openkm.test.MyAccessManager - init([EMAIL PROTECTED])
[main] DEBUG es.git.openkm.test.MyAccessManager - ##### [UserPrincipal: paco]
[main] DEBUG es.git.openkm.test.MyAccessManager - init: void
[main] DEBUG es.git.openkm.test.Dummy - Session: [EMAIL PROTECTED]
[main] DEBUG es.git.openkm.test.Dummy - *** CREATE REPOSITORY ***
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, WRITE)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}uuid,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}uuid
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}primaryType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}primaryType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}mixinTypes,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}mixinTypes
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}created,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}created
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}uuid,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}uuid
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}primaryType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}primaryType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}mixinTypes,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}mixinTypes
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb/{http://www.jcp.org/jcr/1.0}created,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {http://www.jcp.org/jcr/1.0}created
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] INFO  es.git.openkm.test.Dummy - ****** Repository created *******
[main] DEBUG es.git.openkm.test.Dummy - *** ADD A DOCUMENT NODE ***
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(cafebabe-cafe-babe-cafe-babecafebabe, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.Dummy - *** ADD DOCUMENT NODE PROPERTIES ***
[main] DEBUG es.git.openkm.test.Dummy - *** PROPERTIES #1 ***
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}data,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.Dummy - *** PROPERTIES #2 ***
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}mimeType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.Dummy - *** PROPERTIES #3 ***
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}lastModified,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.Dummy - *** SERIALIZE THE ADDED NODE ***
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, WRITE)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}lastModified,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}lastModified
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}primaryType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}primaryType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}data,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}data
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}uuid,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}uuid
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}mimeType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}mimeType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e/{http://www.jcp.org/jcr/1.0}created,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}created
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e/{http://www.jcp.org/jcr/1.0}primaryType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}primaryType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(c0890bef-fe20-4f7f-93a9-c6d77be448fb, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}lastModified,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}lastModified
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}primaryType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}primaryType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}data,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}data
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}uuid,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}uuid
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d/{http://www.jcp.org/jcr/1.0}mimeType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content     {http://www.jcp.org/jcr/1.0}mimeType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e/{http://www.jcp.org/jcr/1.0}created,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}created
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(05688a83-3661-4105-8c12-0ed2bafd3a2d, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}content
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e/{http://www.jcp.org/jcr/1.0}primaryType,
 READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico        
{http://www.jcp.org/jcr/1.0}primaryType
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted(10e98835-9111-436e-af7c-ed9749597d6e, READ)
[main] DEBUG es.git.openkm.test.MyAccessManager - Path: *       
{http://www.guia-ubuntu.org/1.0}root    {}perico
[main] DEBUG es.git.openkm.test.MyAccessManager - [UserPrincipal: paco] 
isGranted: true
[main] DEBUG es.git.openkm.test.Dummy - *** SAY BYE ***
[main] DEBUG es.git.openkm.test.MyAccessManager - close()
[main] DEBUG es.git.openkm.test.MyAccessManager - close: void
[Thread-4] INFO  org.apache.jackrabbit.core.RepositoryImpl - Shutting down 
repository...
[Thread-4] INFO  org.apache.jackrabbit.core.RepositoryImpl - shutting down 
workspace 'default'...
[Thread-4] INFO  
org.apache.jackrabbit.core.observation.ObservationManagerFactory - Notification 
of EventListeners stopped.
[IndexMerger] INFO  org.apache.jackrabbit.core.query.lucene.IndexMerger - 
IndexMerger terminated
[Thread-4] INFO  org.apache.jackrabbit.core.query.lucene.SearchIndex - Index 
closed: repotest2/workspaces/default/index
[Thread-4] INFO  org.apache.jackrabbit.core.RepositoryImpl - workspace 
'default' has been shutdown
[Thread-4] INFO  org.apache.jackrabbit.core.RepositoryImpl - Repository has 
been shutdown

Reply via email to