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 org.springframework.security.acls.model.AclServiceDeprecated.protected org.springframework.security.acls.model.ObjectIdentityRetrievalStrategyDeprecated.protected StringDeprecated.protected Class<?>Deprecated.protected final List<org.springframework.security.acls.model.Permission>Deprecated.protected org.springframework.security.acls.model.SidRetrievalStrategyDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionAbstractAclProvider(org.springframework.security.acls.model.AclService aclService, String processConfigAttribute, List<org.springframework.security.acls.model.Permission> requirePermission) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<?>Deprecated.protected booleanhasPermission(org.springframework.security.core.Authentication authentication, Object domainObject) Deprecated.voidsetObjectIdentityRetrievalStrategy(org.springframework.security.acls.model.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated.protected voidsetProcessConfigAttribute(String processConfigAttribute) Deprecated.voidsetProcessDomainObjectClass(Class<?> processDomainObjectClass) Deprecated.voidsetSidRetrievalStrategy(org.springframework.security.acls.model.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
protected final org.springframework.security.acls.model.AclService aclServiceDeprecated. -
processConfigAttribute
Deprecated. -
processDomainObjectClass
Deprecated. -
objectIdentityRetrievalStrategy
protected org.springframework.security.acls.model.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategyDeprecated. -
sidRetrievalStrategy
protected org.springframework.security.acls.model.SidRetrievalStrategy sidRetrievalStrategyDeprecated. -
requirePermission
Deprecated.
-
-
Constructor Details
-
Method Details
-
getProcessDomainObjectClass
Deprecated. -
hasPermission
protected boolean hasPermission(org.springframework.security.core.Authentication authentication, Object domainObject) Deprecated. -
setObjectIdentityRetrievalStrategy
public void setObjectIdentityRetrievalStrategy(org.springframework.security.acls.model.ObjectIdentityRetrievalStrategy objectIdentityRetrievalStrategy) Deprecated. -
setProcessConfigAttribute
Deprecated. -
setProcessDomainObjectClass
Deprecated. -
setSidRetrievalStrategy
public void setSidRetrievalStrategy(org.springframework.security.acls.model.SidRetrievalStrategy sidRetrievalStrategy) 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)")