public interface AfterInvocationProvider
AfterInvocationProviderManager decision.| Modifier and Type | Method and Description |
|---|---|
Object |
decide(Authentication authentication,
Object object,
Collection<ConfigAttribute> attributes,
Object returnedObject) |
boolean |
supports(Class<?> clazz)
Indicates whether the
AfterInvocationProvider is able to provide "after invocation"
processing for the indicated secured object type. |
boolean |
supports(ConfigAttribute attribute)
Indicates whether this
AfterInvocationProvider is able to participate in a decision
involving the passed ConfigAttribute. |
Object decide(Authentication authentication, Object object, Collection<ConfigAttribute> attributes, Object returnedObject) throws AccessDeniedException
AccessDeniedExceptionboolean supports(ConfigAttribute attribute)
AfterInvocationProvider 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.
attribute - a configuration attribute that has been configured against the
AbstractSecurityInterceptorAfterInvocationProvider can support the passed configuration attributeboolean supports(Class<?> clazz)
AfterInvocationProvider is able to provide "after invocation"
processing for the indicated secured object type.clazz - the class of secure object that is being queried