Interface AfterInvocationProvider
-
- All Known Implementing Classes:
AbstractAclProvider,AclEntryAfterInvocationCollectionFilteringProvider,AclEntryAfterInvocationProvider,PostInvocationAdviceProvider
@Deprecated public interface AfterInvocationProviderDeprecated.Use delegation withAuthorizationManagerIndicates a class is responsible for participating in anAfterInvocationProviderManagerdecision.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Objectdecide(Authentication authentication, java.lang.Object object, java.util.Collection<ConfigAttribute> attributes, java.lang.Object returnedObject)Deprecated.booleansupports(java.lang.Class<?> clazz)Deprecated.Indicates whether theAfterInvocationProvideris able to provide "after invocation" processing for the indicated secured object type.booleansupports(ConfigAttribute attribute)Deprecated.Indicates whether thisAfterInvocationProvideris able to participate in a decision involving the passedConfigAttribute.
-
-
-
Method Detail
-
decide
java.lang.Object decide(Authentication authentication, java.lang.Object object, java.util.Collection<ConfigAttribute> attributes, java.lang.Object returnedObject) throws AccessDeniedException
Deprecated.- Throws:
AccessDeniedException
-
supports
boolean supports(ConfigAttribute attribute)
Deprecated.Indicates 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.- Parameters:
attribute- a configuration attribute that has been configured against theAbstractSecurityInterceptor- Returns:
- true if this
AfterInvocationProvidercan support the passed configuration attribute
-
supports
boolean supports(java.lang.Class<?> clazz)
Deprecated.Indicates whether theAfterInvocationProvideris able to provide "after invocation" processing for the indicated secured object type.- Parameters:
clazz- the class of secure object that is being queried- Returns:
- true if the implementation can process the indicated class
-
-