public class ACLEntryAfterInvocationProvider extends Object implements net.sf.acegisecurity.afterinvocation.AfterInvocationProvider, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
ACLEntryAfterInvocationProvider()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
Object |
decide(net.sf.acegisecurity.Authentication authentication,
Object object,
net.sf.acegisecurity.ConfigAttributeDefinition config,
Object returnedObject) |
org.alfresco.service.namespace.NamespacePrefixResolver |
getNamespacePrefixResolver()
Get the namespace prefix resolver
|
org.alfresco.service.cmr.repository.NodeService |
getNodeService()
Get the node service
|
org.alfresco.service.cmr.security.PermissionService |
getPermissionService()
Get the permission service.
|
void |
setAnyDenyDenies(boolean anyDenyDenies) |
void |
setMaxPermissionChecks(int maxPermissionChecks)
Set the max number of permission checks
|
void |
setMaxPermissionCheckTimeMillis(long maxPermissionCheckTimeMillis)
Set the max time for permission checks
|
void |
setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver nspr)
Set the namespace prefix resolver
|
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service
|
void |
setOptimisePermissionsBulkFetchSize(int optimisePermissionsBulkFetchSize) |
void |
setOptimisePermissionsCheck(boolean optimisePermissionsCheck) |
void |
setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
Set the permission service.
|
void |
setPostProcessDenies(boolean postProcessDenies) |
void |
setUnfilteredFor(Set<String> unfilteredFor)
Types and aspects for which we will abstain on voting if they are present.
|
boolean |
supports(Class clazz) |
boolean |
supports(net.sf.acegisecurity.ConfigAttribute attribute) |
public ACLEntryAfterInvocationProvider()
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService
- PermissionServicepublic org.alfresco.service.cmr.security.PermissionService getPermissionService()
public org.alfresco.service.namespace.NamespacePrefixResolver getNamespacePrefixResolver()
public void setNamespacePrefixResolver(org.alfresco.service.namespace.NamespacePrefixResolver nspr)
nspr
- NamespacePrefixResolverpublic org.alfresco.service.cmr.repository.NodeService getNodeService()
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- NodeServicepublic void setMaxPermissionChecks(int maxPermissionChecks)
maxPermissionChecks
- intpublic void setMaxPermissionCheckTimeMillis(long maxPermissionCheckTimeMillis)
maxPermissionCheckTimeMillis
- longpublic void setUnfilteredFor(Set<String> unfilteredFor)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public Object decide(net.sf.acegisecurity.Authentication authentication, Object object, net.sf.acegisecurity.ConfigAttributeDefinition config, Object returnedObject) throws net.sf.acegisecurity.AccessDeniedException
decide
in interface net.sf.acegisecurity.afterinvocation.AfterInvocationProvider
net.sf.acegisecurity.AccessDeniedException
public void setOptimisePermissionsCheck(boolean optimisePermissionsCheck)
public void setOptimisePermissionsBulkFetchSize(int optimisePermissionsBulkFetchSize)
public void setAnyDenyDenies(boolean anyDenyDenies)
public void setPostProcessDenies(boolean postProcessDenies)
public boolean supports(net.sf.acegisecurity.ConfigAttribute attribute)
supports
in interface net.sf.acegisecurity.afterinvocation.AfterInvocationProvider
public boolean supports(Class clazz)
supports
in interface net.sf.acegisecurity.afterinvocation.AfterInvocationProvider
Copyright © 2005–2017 Alfresco Software. All rights reserved.