当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
MyAccessManager (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.repository
Class MyAccessManager
java.lang.Object
org.drools.repository.MyAccessManager
- All Implemented Interfaces:
- org.apache.jackrabbit.core.security.AccessManager
public class MyAccessManager
- extends Object
- implements org.apache.jackrabbit.core.security.AccessManager
This is just an experimental access manager for proof of concept. Don't
actually use it or you are insane !
Fields inherited from interface org.apache.jackrabbit.core.security.AccessManager |
READ, REMOVE, WRITE |
Method Summary |
boolean |
canAccess(String arg0)
|
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 |
MyAccessManager
public MyAccessManager()
canAccess
public boolean canAccess(String arg0)
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 Exception
- Specified by:
close
in interface org.apache.jackrabbit.core.security.AccessManager
- Throws:
Exception
init
public void init(org.apache.jackrabbit.core.security.AMContext arg0)
throws javax.jcr.AccessDeniedException,
Exception
- Specified by:
init
in interface org.apache.jackrabbit.core.security.AccessManager
- Throws:
javax.jcr.AccessDeniedException
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 © 2001-2007
JBoss Inc.. All Rights Reserved.