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 Summary
FieldsModifier and TypeFieldDescriptionprotected final AclServiceDeprecated.protected ObjectIdentityRetrievalStrategyDeprecated.protected StringDeprecated.protected Class<?>Deprecated.protected final List<Permission>Deprecated.protected SidRetrievalStrategyDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAclProvider(AclService aclService, String processConfigAttribute, List<Permission> requirePermission) Deprecated. -
Method Summary
Modifier 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.access.AfterInvocationProvider
decide
-
Field Details
-
aclService
Deprecated. -
processConfigAttribute
Deprecated. -
processDomainObjectClass
Deprecated. -
objectIdentityRetrievalStrategy
Deprecated. -
sidRetrievalStrategy
Deprecated. -
requirePermission
Deprecated.
-
-
Constructor Details
-
AbstractAclProvider
public AbstractAclProvider(AclService aclService, String processConfigAttribute, List<Permission> requirePermission) Deprecated.
-
-
Method Details
-
getProcessDomainObjectClass
Deprecated. -
hasPermission
Deprecated. -
setObjectIdentityRetrievalStrategy
public void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated. -
setProcessConfigAttribute
Deprecated. -
setProcessDomainObjectClass
Deprecated. -
setSidRetrievalStrategy
Deprecated. -
supports
Deprecated.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 interfaceAfterInvocationProvider- Parameters:
attribute- a configuration attribute that has been configured against theAbstractSecurityInterceptor- Returns:
- true if this
AfterInvocationProvidercan support the passed configuration attribute
-
supports
Deprecated.This implementation supports any type of class, because it does not query the presented secure object.- Specified by:
supportsin interfaceAfterInvocationProvider- Parameters:
clazz- the secure object- Returns:
- always
true
-
AclPermissionEvaluatorinstead. Spring Method Security annotations may also prove useful, for example@PostAuthorize("hasPermission(filterObject, read)")