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 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
(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
(ConfigAttribute attribute) Deprecated.Indicates whether thisAfterInvocationProvider
is 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, 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
Deprecated. -
setObjectIdentityRetrievalStrategy
public void setObjectIdentityRetrievalStrategy(ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated. -
setProcessConfigAttribute
Deprecated. -
setProcessDomainObjectClass
Deprecated. -
setSidRetrievalStrategy
Deprecated. -
supports
Deprecated.Description copied from interface:AfterInvocationProvider
Indicates whether thisAfterInvocationProvider
is able to participate in a decision involving the passedConfigAttribute
.This allows the
AbstractSecurityInterceptor
to check every configuration attribute can be consumed by the configuredAccessDecisionManager
and/orRunAsManager
and/orAccessDecisionManager
.- Specified by:
supports
in interfaceAfterInvocationProvider
- Parameters:
attribute
- a configuration attribute that has been configured against theAbstractSecurityInterceptor
- Returns:
- true if this
AfterInvocationProvider
can 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:
supports
in interfaceAfterInvocationProvider
- Parameters:
clazz
- the secure object- Returns:
- always
true
-
AclPermissionEvaluator
instead. Spring Method Security annotations may also prove useful, for example@PostAuthorize("hasPermission(filterObject, read)")