Class AspectJMethodSecurityInterceptor
java.lang.Object
org.springframework.security.access.intercept.AbstractSecurityInterceptor
org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor
org.springframework.security.access.intercept.aspectj.AspectJMethodSecurityInterceptor
- All Implemented Interfaces:
- org.aopalliance.aop.Advice,- org.aopalliance.intercept.Interceptor,- org.aopalliance.intercept.MethodInterceptor,- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.ApplicationEventPublisherAware,- org.springframework.context.MessageSourceAware
Deprecated.
This class will be removed from the public API. Please either use
 `spring-security-aspects`, Spring Security's method security support or create your own
 class that uses Spring AOP annotations.
AspectJ 
JoinPoint security interceptor which wraps the JoinPoint in a
 MethodInvocation adapter to make it compatible with security infrastructure
 classes which only support MethodInvocations.
 
 One of the invoke methods should be called from the around() advice in
 your aspect. Alternatively you can use one of the pre-defined aspects from the aspects
 module.
- Since:
- 3.0.3
- 
Field SummaryFields inherited from class org.springframework.security.access.intercept.AbstractSecurityInterceptorlogger, messages
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioninvoke(org.aspectj.lang.JoinPoint jp) Deprecated.Method that is suitable for user with @Aspect notation.invoke(org.aspectj.lang.JoinPoint jp, AspectJCallback advisorProceed) Deprecated.Method that is suitable for user with traditional AspectJ-code aspects.Methods inherited from class org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptorgetSecureObjectClass, getSecurityMetadataSource, invoke, obtainSecurityMetadataSource, setSecurityMetadataSourceMethods inherited from class org.springframework.security.access.intercept.AbstractSecurityInterceptorafterInvocation, afterPropertiesSet, beforeInvocation, finallyInvocation, getAccessDecisionManager, getAfterInvocationManager, getAuthenticationManager, getRunAsManager, isAlwaysReauthenticate, isRejectPublicInvocations, isValidateConfigAttributes, setAccessDecisionManager, setAfterInvocationManager, setAlwaysReauthenticate, setApplicationEventPublisher, setAuthenticationManager, setMessageSource, setPublishAuthorizationSuccess, setRejectPublicInvocations, setRunAsManager, setSecurityContextHolderStrategy, setValidateConfigAttributes
- 
Constructor Details- 
AspectJMethodSecurityInterceptorpublic AspectJMethodSecurityInterceptor()Deprecated.
 
- 
- 
Method Details- 
invokeDeprecated.Method that is suitable for user with @Aspect notation.- Parameters:
- jp- The AspectJ joint point being invoked which requires a security decision
- Returns:
- The returned value from the method invocation
- Throws:
- Throwable- if the invocation throws one
 
- 
invokeDeprecated.Method that is suitable for user with traditional AspectJ-code aspects.- Parameters:
- jp- The AspectJ joint point being invoked which requires a security decision
- advisorProceed- the advice-defined anonymous class that implements- AspectJCallbackcontaining a simple- return proceed();statement
- Returns:
- The returned value from the method invocation
 
 
-