Class AbstractAclProvider
java.lang.Object
org.springframework.security.acls.afterinvocation.AbstractAclProvider
- All Implemented Interfaces:
- AfterInvocationProvider
- Direct Known Subclasses:
- AclEntryAfterInvocationCollectionFilteringProvider,- AclEntryAfterInvocationProvider
@Deprecated
public abstract class AbstractAclProvider
extends Object
implements AfterInvocationProvider
Deprecated.
Abstract 
AfterInvocationProvider which provides commonly-used ACL-related
 services.- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final AclServiceDeprecated.protected ObjectIdentityRetrievalStrategyDeprecated.protected StringDeprecated.protected Class<?>Deprecated.protected final List<Permission>Deprecated.protected SidRetrievalStrategyDeprecated.
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractAclProvider(AclService aclService, String processConfigAttribute, List<Permission> requirePermission) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptionprotected Class<?>Deprecated.protected booleanhasPermission(Authentication authentication, Object domainObject) Deprecated.voidsetObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated.protected voidsetProcessConfigAttribute(String processConfigAttribute) Deprecated.voidsetProcessDomainObjectClass(Class<?> processDomainObjectClass) Deprecated.voidsetSidRetrievalStrategy(SidRetrievalStrategy sidRetrievalStrategy) Deprecated.booleanDeprecated.This implementation supports any type of class, because it does not query the presented secure object.booleansupports(ConfigAttribute attribute) Deprecated.Indicates whether thisAfterInvocationProvideris able to participate in a decision involving the passedConfigAttribute.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.access.AfterInvocationProviderdecide
- 
Field Details- 
aclServiceDeprecated.
- 
processConfigAttributeDeprecated.
- 
processDomainObjectClassDeprecated.
- 
objectIdentityRetrievalStrategyDeprecated.
- 
sidRetrievalStrategyDeprecated.
- 
requirePermissionDeprecated.
 
- 
- 
Constructor Details- 
AbstractAclProviderpublic AbstractAclProvider(AclService aclService, String processConfigAttribute, List<Permission> requirePermission) Deprecated.
 
- 
- 
Method Details- 
getProcessDomainObjectClassDeprecated.
- 
hasPermissionDeprecated.
- 
setObjectIdentityRetrievalStrategypublic void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated.
- 
setProcessConfigAttributeDeprecated.
- 
setProcessDomainObjectClassDeprecated.
- 
setSidRetrievalStrategyDeprecated.
- 
supportsDeprecated.Description copied from interface:AfterInvocationProviderIndicates whether thisAfterInvocationProvideris able to participate in a decision involving the passedConfigAttribute.This allows the AbstractSecurityInterceptorto check every configuration attribute can be consumed by the configuredAccessDecisionManagerand/orRunAsManagerand/orAccessDecisionManager.- Specified by:
- supportsin interface- AfterInvocationProvider
- Parameters:
- attribute- a configuration attribute that has been configured against the- AbstractSecurityInterceptor
- Returns:
- true if this AfterInvocationProvidercan support the passed configuration attribute
 
- 
supportsDeprecated.This implementation supports any type of class, because it does not query the presented secure object.- Specified by:
- supportsin interface- AfterInvocationProvider
- Parameters:
- clazz- the secure object
- Returns:
- always true
 
 
- 
AclPermissionEvaluatorinstead. Spring Method Security annotations may also prove useful, for example@PostAuthorize("hasPermission(filterObject, read)")