public class AopAuthorizingController
extends org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
implements org.springframework.boot.CommandLineRunner, org.aopalliance.intercept.MethodInterceptor
AuthorizeDefinitionInitializedEvent,
Serialized Form| Constructor and Description |
|---|
AopAuthorizingController(AuthorizingHandler authorizingHandler,
AopMethodAuthorizeDefinitionParser aopMethodAuthorizeDefinitionParser) |
| Modifier and Type | Method and Description |
|---|---|
protected org.reactivestreams.Publisher<?> |
handleReactive0(AuthorizeDefinition definition,
MethodInterceptorHolder holder,
AuthorizingContext context,
Supplier<? extends org.reactivestreams.Publisher<?>> invoker) |
Object |
invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) |
boolean |
matches(Method method,
Class<?> aClass) |
void |
run(String... args) |
void |
setAutoParse(boolean autoParse) |
getAdvice, getOrder, getPointcut, isPerInstance, setAdvice, setOrderpublic AopAuthorizingController(AuthorizingHandler authorizingHandler, AopMethodAuthorizeDefinitionParser aopMethodAuthorizeDefinitionParser)
public void setAutoParse(boolean autoParse)
protected org.reactivestreams.Publisher<?> handleReactive0(AuthorizeDefinition definition, MethodInterceptorHolder holder, AuthorizingContext context, Supplier<? extends org.reactivestreams.Publisher<?>> invoker)
public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowablepublic boolean matches(Method method, Class<?> aClass)
matches in interface org.springframework.aop.MethodMatcherCopyright © 2016–2021. All rights reserved.