Uses of Interface
org.apache.shiro.aop.MethodInvocation
-
Packages that use MethodInvocation Package Description org.apache.shiro.aop Components used to support the framework's AOP/interception support classes.org.apache.shiro.aspectj AspectJ support for enabling dynamic authorization using Shiro's annotations.org.apache.shiro.authz.aop Contains AOP implementation support classes specifically used for authorization operations, particularly supporting AOP Method Interceptors and JSR-175 metadata Annotations.org.apache.shiro.spring.aop org.apache.shiro.spring.security.interceptor Spring AOP support for enabling Shiro annotations in Spring-configured applications. -
-
Uses of MethodInvocation in org.apache.shiro.aop
Methods in org.apache.shiro.aop with parameters of type MethodInvocation Modifier and Type Method Description protected Annotation
AnnotationMethodInterceptor. getAnnotation(MethodInvocation mi)
Returns the Annotation that this interceptor will process for the specified method invocation.Annotation
AnnotationResolver. getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)
Returns anAnnotation
instance of the specified type based on the givenMethodInvocation
argument, ornull
if no annotation of that type could be found.Annotation
DefaultAnnotationResolver. getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)
Object
MethodInterceptor. invoke(MethodInvocation methodInvocation)
Invokes the specifiedMethodInvocation
, allowing implementations to perform pre/post/finally surrounding the actual invocation.boolean
AnnotationMethodInterceptor. supports(MethodInvocation mi)
Returnstrue
if this interceptor supports, that is, should inspect, the specifiedMethodInvocation
,false
otherwise. -
Uses of MethodInvocation in org.apache.shiro.aspectj
Classes in org.apache.shiro.aspectj that implement MethodInvocation Modifier and Type Class Description class
BeforeAdviceMethodInvocationAdapter
Helper class that adapts an AspectJJoinPoint
. -
Uses of MethodInvocation in org.apache.shiro.authz.aop
Methods in org.apache.shiro.authz.aop with parameters of type MethodInvocation Modifier and Type Method Description protected void
AnnotationsAuthorizingMethodInterceptor. assertAuthorized(MethodInvocation methodInvocation)
Iterates over the internalmethodInterceptors
collection, and for each one, ensures that if the interceptorsupports
the invocation, that the interceptorasserts
that the invocation is authorized to proceed.void
AuthorizingAnnotationMethodInterceptor. assertAuthorized(MethodInvocation mi)
Ensures the calling Subject is authorized to execute the specifiedMethodInvocation
.protected abstract void
AuthorizingMethodInterceptor. assertAuthorized(MethodInvocation methodInvocation)
Asserts that the specified MethodInvocation is allowed to continue by performing any necessary authorization (access control) checks first.Object
AuthorizingAnnotationMethodInterceptor. invoke(MethodInvocation methodInvocation)
Ensures themethodInvocation
is allowed to execute first before proceeding by calling theassertAuthorized
method first.Object
AuthorizingMethodInterceptor. invoke(MethodInvocation methodInvocation)
Invokes the specified method (methodInvocation.
if authorization is allowed by first callingproceed
()assertAuthorized
. -
Uses of MethodInvocation in org.apache.shiro.spring.aop
Methods in org.apache.shiro.spring.aop with parameters of type MethodInvocation Modifier and Type Method Description Annotation
SpringAnnotationResolver. getAnnotation(MethodInvocation mi, Class<? extends Annotation> clazz)
-
Uses of MethodInvocation in org.apache.shiro.spring.security.interceptor
Methods in org.apache.shiro.spring.security.interceptor that return MethodInvocation Modifier and Type Method Description protected MethodInvocation
AopAllianceAnnotationsAuthorizingMethodInterceptor. createMethodInvocation(Object implSpecificMethodInvocation)
Creates aMethodInvocation
that wraps anorg.aopalliance.intercept.MethodInvocation
instance, enabling Shiro Annotations in AOP Alliance environments (Spring, etc).
-