|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.security.AbstractAccessControlManager org.apache.jackrabbit.core.security.DefaultAccessManager info.magnolia.cms.core.MagnoliaAccessManager
@Deprecated public class MagnoliaAccessManager
Magnolia's own access manager exposing access to repository to all Magnolia users.
Field Summary |
---|
Fields inherited from interface org.apache.jackrabbit.core.security.AccessManager |
---|
READ, REMOVE, WRITE |
Constructor Summary | |
---|---|
MagnoliaAccessManager()
Deprecated. |
Method Summary | |
---|---|
boolean |
canAccess(String workspaceName)
Deprecated. |
boolean |
canRead(org.apache.jackrabbit.spi.Path itemPath,
org.apache.jackrabbit.core.id.ItemId itemId)
Deprecated. |
protected void |
checkInitialized()
Deprecated. |
void |
checkPermission(org.apache.jackrabbit.core.id.ItemId id,
int permissions)
Deprecated. |
void |
checkPermission(org.apache.jackrabbit.spi.Path absPath,
int permissions)
Deprecated. |
protected void |
checkPermission(String absPath,
int permission)
Deprecated. |
protected void |
checkValidNodePath(String absPath)
Deprecated. |
void |
close()
Deprecated. |
org.apache.jackrabbit.api.security.JackrabbitAccessControlPolicy[] |
getApplicablePolicies(Principal principal)
Deprecated. |
javax.jcr.security.AccessControlPolicyIterator |
getApplicablePolicies(String absPath)
Deprecated. |
javax.jcr.security.AccessControlPolicy[] |
getEffectivePolicies(Set<Principal> principals)
Deprecated. |
javax.jcr.security.AccessControlPolicy[] |
getEffectivePolicies(String absPath)
Deprecated. |
org.apache.jackrabbit.api.security.JackrabbitAccessControlPolicy[] |
getPolicies(Principal principal)
Deprecated. |
javax.jcr.security.AccessControlPolicy[] |
getPolicies(String absPath)
Deprecated. |
javax.jcr.security.Privilege[] |
getPrivileges(String absPath)
Deprecated. |
javax.jcr.security.Privilege[] |
getPrivileges(String absPath,
Set<Principal> principals)
Deprecated. |
boolean |
hasPrivileges(String absPath,
javax.jcr.security.Privilege[] privileges)
Deprecated. |
boolean |
hasPrivileges(String absPath,
Set<Principal> principals,
javax.jcr.security.Privilege[] privileges)
Deprecated. |
void |
init(org.apache.jackrabbit.core.security.AMContext amContext)
Deprecated. |
void |
init(org.apache.jackrabbit.core.security.AMContext amContext,
org.apache.jackrabbit.core.security.authorization.AccessControlProvider acProvider,
org.apache.jackrabbit.core.security.authorization.WorkspaceAccessManager wspAccessManager)
Deprecated. |
boolean |
isGranted(org.apache.jackrabbit.core.id.ItemId id,
int actions)
Deprecated. |
boolean |
isGranted(org.apache.jackrabbit.spi.Path absPath,
int permissions)
Deprecated. |
boolean |
isGranted(org.apache.jackrabbit.spi.Path parentPath,
org.apache.jackrabbit.spi.Name childName,
int permissions)
Deprecated. |
void |
removePolicy(String absPath,
javax.jcr.security.AccessControlPolicy policy)
Deprecated. |
void |
setPolicy(String absPath,
javax.jcr.security.AccessControlPolicy policy)
Deprecated. |
Methods inherited from class org.apache.jackrabbit.core.security.DefaultAccessManager |
---|
checkRepositoryPermission, getPrivilegeManager |
Methods inherited from class org.apache.jackrabbit.core.security.AbstractAccessControlManager |
---|
getSupportedPrivileges, privilegeFromName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MagnoliaAccessManager()
Method Detail |
---|
public boolean canAccess(String workspaceName) throws javax.jcr.RepositoryException
canAccess
in interface org.apache.jackrabbit.core.security.AccessManager
canAccess
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.RepositoryException
public boolean canRead(org.apache.jackrabbit.spi.Path itemPath, org.apache.jackrabbit.core.id.ItemId itemId) throws javax.jcr.RepositoryException
canRead
in interface org.apache.jackrabbit.core.security.AccessManager
canRead
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.RepositoryException
protected void checkInitialized()
checkInitialized
in class org.apache.jackrabbit.core.security.DefaultAccessManager
public void checkPermission(org.apache.jackrabbit.core.id.ItemId id, int permissions) throws javax.jcr.AccessDeniedException, javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
checkPermission
in interface org.apache.jackrabbit.core.security.AccessManager
checkPermission
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
public void checkPermission(org.apache.jackrabbit.spi.Path absPath, int permissions) throws javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
checkPermission
in interface org.apache.jackrabbit.core.security.AccessManager
checkPermission
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
protected void checkPermission(String absPath, int permission) throws javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
checkPermission
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
protected void checkValidNodePath(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
checkValidNodePath
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public void close() throws Exception
close
in interface org.apache.jackrabbit.core.security.AccessManager
close
in class org.apache.jackrabbit.core.security.DefaultAccessManager
Exception
public org.apache.jackrabbit.api.security.JackrabbitAccessControlPolicy[] getApplicablePolicies(Principal principal) throws javax.jcr.AccessDeniedException, javax.jcr.security.AccessControlException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getApplicablePolicies
in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
getApplicablePolicies
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
javax.jcr.security.AccessControlException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.security.AccessControlPolicyIterator getApplicablePolicies(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getApplicablePolicies
in interface javax.jcr.security.AccessControlManager
getApplicablePolicies
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public javax.jcr.security.AccessControlPolicy[] getEffectivePolicies(Set<Principal> principals) throws javax.jcr.AccessDeniedException, javax.jcr.security.AccessControlException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getEffectivePolicies
in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
getEffectivePolicies
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
javax.jcr.security.AccessControlException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.security.AccessControlPolicy[] getEffectivePolicies(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getEffectivePolicies
in interface javax.jcr.security.AccessControlManager
getEffectivePolicies
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public org.apache.jackrabbit.api.security.JackrabbitAccessControlPolicy[] getPolicies(Principal principal) throws javax.jcr.AccessDeniedException, javax.jcr.security.AccessControlException, javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException
getPolicies
in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
getPolicies
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
javax.jcr.security.AccessControlException
javax.jcr.UnsupportedRepositoryOperationException
javax.jcr.RepositoryException
public javax.jcr.security.AccessControlPolicy[] getPolicies(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
getPolicies
in interface javax.jcr.security.AccessControlManager
getPolicies
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public javax.jcr.security.Privilege[] getPrivileges(String absPath, Set<Principal> principals) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getPrivileges
in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
getPrivileges
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public javax.jcr.security.Privilege[] getPrivileges(String absPath) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
getPrivileges
in interface javax.jcr.security.AccessControlManager
getPrivileges
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public boolean hasPrivileges(String absPath, javax.jcr.security.Privilege[] privileges) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
hasPrivileges
in interface javax.jcr.security.AccessControlManager
hasPrivileges
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public boolean hasPrivileges(String absPath, Set<Principal> principals, javax.jcr.security.Privilege[] privileges) throws javax.jcr.PathNotFoundException, javax.jcr.RepositoryException
hasPrivileges
in interface org.apache.jackrabbit.api.security.JackrabbitAccessControlManager
hasPrivileges
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
public void init(org.apache.jackrabbit.core.security.AMContext amContext, org.apache.jackrabbit.core.security.authorization.AccessControlProvider acProvider, org.apache.jackrabbit.core.security.authorization.WorkspaceAccessManager wspAccessManager) throws javax.jcr.AccessDeniedException, Exception
init
in interface org.apache.jackrabbit.core.security.AccessManager
init
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
Exception
public void init(org.apache.jackrabbit.core.security.AMContext amContext) throws javax.jcr.AccessDeniedException, Exception
init
in interface org.apache.jackrabbit.core.security.AccessManager
init
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.AccessDeniedException
Exception
public boolean isGranted(org.apache.jackrabbit.core.id.ItemId id, int actions) throws javax.jcr.ItemNotFoundException, javax.jcr.RepositoryException
isGranted
in interface org.apache.jackrabbit.core.security.AccessManager
isGranted
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.ItemNotFoundException
javax.jcr.RepositoryException
public boolean isGranted(org.apache.jackrabbit.spi.Path absPath, int permissions) throws javax.jcr.RepositoryException
isGranted
in interface org.apache.jackrabbit.core.security.AccessManager
isGranted
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.RepositoryException
public boolean isGranted(org.apache.jackrabbit.spi.Path parentPath, org.apache.jackrabbit.spi.Name childName, int permissions) throws javax.jcr.RepositoryException
isGranted
in interface org.apache.jackrabbit.core.security.AccessManager
isGranted
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.RepositoryException
public void removePolicy(String absPath, javax.jcr.security.AccessControlPolicy policy) throws javax.jcr.PathNotFoundException, javax.jcr.security.AccessControlException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
removePolicy
in interface javax.jcr.security.AccessControlManager
removePolicy
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.security.AccessControlException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
public void setPolicy(String absPath, javax.jcr.security.AccessControlPolicy policy) throws javax.jcr.PathNotFoundException, javax.jcr.security.AccessControlException, javax.jcr.AccessDeniedException, javax.jcr.RepositoryException
setPolicy
in interface javax.jcr.security.AccessControlManager
setPolicy
in class org.apache.jackrabbit.core.security.DefaultAccessManager
javax.jcr.PathNotFoundException
javax.jcr.security.AccessControlException
javax.jcr.AccessDeniedException
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |