Class PostInvocationAdviceProvider
java.lang.Object
org.springframework.security.access.prepost.PostInvocationAdviceProvider
- All Implemented Interfaces:
- AfterInvocationProvider
@Deprecated
public class PostInvocationAdviceProvider
extends Object
implements AfterInvocationProvider
Deprecated.
AfterInvocationProvider which delegates to a
 
PostInvocationAuthorizationAdvice instance passing it the
 PostInvocationAttribute created from @PostAuthorize and @PostFilter
 annotations.- Since:
- 3.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final org.apache.commons.logging.LogDeprecated.
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecated.
- 
Method SummaryModifier and TypeMethodDescriptiondecide(Authentication authentication, Object object, Collection<ConfigAttribute> config, Object returnedObject) Deprecated.booleanDeprecated.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.
- 
Field Details- 
loggerprotected final org.apache.commons.logging.Log loggerDeprecated.
 
- 
- 
Constructor Details- 
PostInvocationAdviceProviderDeprecated.
 
- 
- 
Method Details- 
decidepublic Object decide(Authentication authentication, Object object, Collection<ConfigAttribute> config, Object returnedObject) throws AccessDeniedException Deprecated.- Specified by:
- decidein interface- AfterInvocationProvider
- Throws:
- AccessDeniedException
 
- 
supportsDeprecated.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 interface- AfterInvocationProvider
- Parameters:
- attribute- a configuration attribute that has been configured against the- AbstractSecurityInterceptor
- Returns:
- true if this AfterInvocationProvidercan support the passed configuration attribute
 
- 
supportsDeprecated.Description copied from interface:AfterInvocationProviderIndicates whether theAfterInvocationProvideris able to provide "after invocation" processing for the indicated secured object type.- Specified by:
- supportsin interface- AfterInvocationProvider
- Parameters:
- clazz- the class of secure object that is being queried
- Returns:
- true if the implementation can process the indicated class
 
 
- 
AuthorizationManagerAfterMethodInterceptorinstead