Class AbstractAclProvider
java.lang.Object
org.springframework.security.acls.afterinvocation.AbstractAclProvider
- All Implemented Interfaces:
org.springframework.security.access.AfterInvocationProvider
- Direct Known Subclasses:
AclEntryAfterInvocationCollectionFilteringProvider
,AclEntryAfterInvocationProvider
@Deprecated
public abstract class AbstractAclProvider
extends Object
implements org.springframework.security.access.AfterInvocationProvider
Deprecated.
Abstract
AfterInvocationProvider
which provides commonly-used ACL-related
services.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AclService
Deprecated.protected ObjectIdentityRetrievalStrategy
Deprecated.protected String
Deprecated.protected Class<?>
Deprecated.protected final List<Permission>
Deprecated.protected SidRetrievalStrategy
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAclProvider
(AclService aclService, String processConfigAttribute, List<Permission> requirePermission) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>
Deprecated.protected boolean
hasPermission
(org.springframework.security.core.Authentication authentication, Object domainObject) Deprecated.void
setObjectIdentityRetrievalStrategy
(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated.protected void
setProcessConfigAttribute
(String processConfigAttribute) Deprecated.void
setProcessDomainObjectClass
(Class<?> processDomainObjectClass) Deprecated.void
setSidRetrievalStrategy
(SidRetrievalStrategy sidRetrievalStrategy) Deprecated.boolean
Deprecated.This implementation supports any type of class, because it does not query the presented secure object.boolean
supports
(org.springframework.security.access.ConfigAttribute attribute) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
protected boolean hasPermission(org.springframework.security.core.Authentication authentication, Object domainObject) Deprecated. -
setObjectIdentityRetrievalStrategy
public void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated. -
setProcessConfigAttribute
Deprecated. -
setProcessDomainObjectClass
Deprecated. -
setSidRetrievalStrategy
Deprecated. -
supports
public boolean supports(org.springframework.security.access.ConfigAttribute attribute) Deprecated.- Specified by:
supports
in interfaceorg.springframework.security.access.AfterInvocationProvider
-
supports
Deprecated.This implementation supports any type of class, because it does not query the presented secure object.- Specified by:
supports
in interfaceorg.springframework.security.access.AfterInvocationProvider
- Parameters:
clazz
- the secure object- Returns:
- always
true
-
AclPermissionEvaluator
instead. Spring Method Security annotations may also prove useful, for example@PostAuthorize("hasPermission(filterObject, read)")