|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.access.intercept.AbstractSecurityInterceptor org.springframework.security.access.intercept.aspectj.AspectJSecurityInterceptor
@Deprecated public class AspectJSecurityInterceptor
Provides security interception of AspectJ method invocations.
The SecurityMetadataSource
required by this security interceptor is of type
MethodSecurityMetadataSource
. This is shared with the AOP Alliance based security interceptor
(MethodSecurityInterceptor
), since both work with Java Method
s.
The secure object type is org.aspectj.lang.JoinPoint
, which is passed from the relevant
around()
advice. The around()
advice also passes an anonymous implementation of AspectJCallback
which contains the call for AspectJ to continue processing: return proceed();
.
Refer to AbstractSecurityInterceptor
for details on the workflow.
Field Summary |
---|
Fields inherited from class org.springframework.security.access.intercept.AbstractSecurityInterceptor |
---|
logger, messages |
Constructor Summary | |
---|---|
AspectJSecurityInterceptor()
Deprecated. |
Method Summary | |
---|---|
java.lang.Class<? extends java.lang.Object> |
getSecureObjectClass()
Deprecated. 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,
AspectJCallback advisorProceed)
Deprecated. This method should be used to enforce security on a JoinPoint . |
SecurityMetadataSource |
obtainSecurityMetadataSource()
Deprecated. |
void |
setSecurityMetadataSource(MethodSecurityMetadataSource newSource)
Deprecated. |
Methods inherited from class org.springframework.security.access.intercept.AbstractSecurityInterceptor |
---|
afterInvocation, afterPropertiesSet, beforeInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setRejectPublicInvocations, setRunAsManager, setValidateConfigAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AspectJSecurityInterceptor()
Method Detail |
---|
public java.lang.Class<? extends java.lang.Object> getSecureObjectClass()
AbstractSecurityInterceptor
AbstractSecurityInterceptor
all support the
indicated secure object class.
getSecureObjectClass
in class AbstractSecurityInterceptor
public java.lang.Object invoke(org.aspectj.lang.JoinPoint jp, AspectJCallback advisorProceed)
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();
statement
public SecurityMetadataSource obtainSecurityMetadataSource()
obtainSecurityMetadataSource
in class AbstractSecurityInterceptor
public void setSecurityMetadataSource(MethodSecurityMetadataSource newSource)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |