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, setValidateConfigAttributes
public AspectJAnnotationSecurityInterceptor()
public MethodDefinitionSource getObjectDefinitionSource()
public java.lang.Class getSecureObjectClass()
AbstractSecurityInterceptor
AbstractSecurityInterceptor
all support the
indicated secure object class.getSecureObjectClass
in class AbstractSecurityInterceptor
public 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.Throwable
public ObjectDefinitionSource obtainObjectDefinitionSource()
obtainObjectDefinitionSource
in class AbstractSecurityInterceptor
public void setObjectDefinitionSource(MethodDefinitionSource newSource)