fr.paris.lutece.plugins.jsr170.authentication
Class RepositoryFileAccessManager

java.lang.Object
  extended by fr.paris.lutece.plugins.jsr170.authentication.RepositoryFileAccessManager
All Implemented Interfaces:
org.apache.jackrabbit.core.security.AccessManager

public class RepositoryFileAccessManager
extends java.lang.Object
implements org.apache.jackrabbit.core.security.AccessManager


Field Summary
 
Fields inherited from interface org.apache.jackrabbit.core.security.AccessManager
READ, REMOVE, WRITE
 
Constructor Summary
RepositoryFileAccessManager()
           
 
Method Summary
 boolean canAccess(java.lang.String strWorkspace)
           
 void checkPermission(org.apache.jackrabbit.core.ItemId arg0, int arg1)
           
 void close()
           
 void init(org.apache.jackrabbit.core.security.AMContext arg0)
           
 boolean isGranted(org.apache.jackrabbit.core.ItemId arg0, int arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryFileAccessManager

public RepositoryFileAccessManager()
Method Detail

canAccess

public boolean canAccess(java.lang.String strWorkspace)
                  throws javax.jcr.NoSuchWorkspaceException,
                         javax.jcr.RepositoryException
Specified by:
canAccess in interface org.apache.jackrabbit.core.security.AccessManager
Throws:
javax.jcr.NoSuchWorkspaceException
javax.jcr.RepositoryException

checkPermission

public void checkPermission(org.apache.jackrabbit.core.ItemId arg0,
                            int arg1)
                     throws javax.jcr.AccessDeniedException,
                            javax.jcr.ItemNotFoundException,
                            javax.jcr.RepositoryException
Specified by:
checkPermission in interface org.apache.jackrabbit.core.security.AccessManager
Throws:
javax.jcr.AccessDeniedException
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException

close

public void close()
           throws java.lang.Exception
Specified by:
close in interface org.apache.jackrabbit.core.security.AccessManager
Throws:
java.lang.Exception

init

public void init(org.apache.jackrabbit.core.security.AMContext arg0)
          throws javax.jcr.AccessDeniedException,
                 java.lang.Exception
Specified by:
init in interface org.apache.jackrabbit.core.security.AccessManager
Throws:
javax.jcr.AccessDeniedException
java.lang.Exception

isGranted

public boolean isGranted(org.apache.jackrabbit.core.ItemId arg0,
                         int arg1)
                  throws javax.jcr.ItemNotFoundException,
                         javax.jcr.RepositoryException
Specified by:
isGranted in interface org.apache.jackrabbit.core.security.AccessManager
Throws:
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException


Copyright © 2007 Mairie de Paris. All Rights Reserved.