public class PostInvocationAdviceProvider extends java.lang.Object implements AfterInvocationProvider
PostInvocationAuthorizationAdvice instance passing it the
 PostInvocationAttribute created from @PostAuthorize and @PostFilter
 annotations.| Modifier and Type | Field and Description | 
|---|---|
| protected org.apache.commons.logging.Log | logger | 
| Constructor and Description | 
|---|
| PostInvocationAdviceProvider(PostInvocationAuthorizationAdvice postAdvice) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | decide(Authentication authentication,
      java.lang.Object object,
      java.util.Collection<ConfigAttribute> config,
      java.lang.Object returnedObject) | 
| boolean | supports(java.lang.Class<?> clazz)Indicates whether the  AfterInvocationProvideris able to provide
 "after invocation" processing for the indicated secured object type. | 
| boolean | supports(ConfigAttribute attribute)Indicates whether this  AfterInvocationProvideris able to participate
 in a decision involving the passedConfigAttribute. | 
public PostInvocationAdviceProvider(PostInvocationAuthorizationAdvice postAdvice)
public java.lang.Object decide(Authentication authentication, java.lang.Object object, java.util.Collection<ConfigAttribute> config, java.lang.Object returnedObject) throws AccessDeniedException
decide in interface AfterInvocationProviderAccessDeniedExceptionpublic boolean supports(ConfigAttribute attribute)
AfterInvocationProviderAfterInvocationProvider is able to participate
 in a decision involving the passed ConfigAttribute.
 
 This allows the AbstractSecurityInterceptor to check every
 configuration attribute can be consumed by the configured
 AccessDecisionManager and/or RunAsManager and/or
 AccessDecisionManager.
 
supports in interface AfterInvocationProviderattribute - a configuration attribute that has been configured against the
 AbstractSecurityInterceptorAfterInvocationProvider can support the passed
 configuration attributepublic boolean supports(java.lang.Class<?> clazz)
AfterInvocationProviderAfterInvocationProvider is able to provide
 "after invocation" processing for the indicated secured object type.supports in interface AfterInvocationProviderclazz - the class of secure object that is being queried