public class AspectJAnnotationSecurityInterceptor extends AbstractSecurityInterceptor
logger, messages| Constructor and Description |
|---|
AspectJAnnotationSecurityInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
MethodDefinitionSource |
getObjectDefinitionSource() |
java.lang.Class |
getSecureObjectClass()
Indicates the type of secure objects the subclass will be presenting to
the abstract parent for processing.
|
java.lang.Object |
invoke(org.aspectj.lang.JoinPoint jp,
AspectJAnnotationCallback advisorProceed)
This method should be used to enforce security on a
JoinPoint. |
ObjectDefinitionSource |
obtainObjectDefinitionSource() |
void |
setObjectDefinitionSource(MethodDefinitionSource newSource) |
afterInvocation, afterPropertiesSet, beforeInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setRejectPublicInvocations, setRunAsManager, setValidateConfigAttributespublic AspectJAnnotationSecurityInterceptor()
public MethodDefinitionSource getObjectDefinitionSource()
public java.lang.Class getSecureObjectClass()
AbstractSecurityInterceptorAbstractSecurityInterceptor all support the
indicated secure object class.getSecureObjectClass in class AbstractSecurityInterceptorpublic java.lang.Object invoke(org.aspectj.lang.JoinPoint jp,
AspectJAnnotationCallback advisorProceed)
throws java.lang.Throwable
JoinPoint.jp - The AspectJ joint point being invoked which requires a security decisionadvisorProceed - the advice-defined anonymous class that implements AspectJCallback containing
a simple return proceed(); statementjava.lang.Throwablepublic ObjectDefinitionSource obtainObjectDefinitionSource()
obtainObjectDefinitionSource in class AbstractSecurityInterceptorpublic void setObjectDefinitionSource(MethodDefinitionSource newSource)