Uses of Interface
org.apache.shiro.aop.MethodInterceptor
Packages that use MethodInterceptor
Package
Description
Components used to support the framework's AOP/interception support classes.
Contains AOP implementation support classes specifically used for authorization operations, particularly supporting
AOP Method Interceptors and JSR-175 metadata Annotations.
-
Uses of MethodInterceptor in org.apache.shiro.aop
Classes in org.apache.shiro.aop that implement MethodInterceptorModifier and TypeClassDescriptionclassMethodInterceptor that inspects a specific annotation on the method invocation before continuing its execution.classThis class is an abstraction of AOP method interceptor behavior specific to Shiro that leaves AOP implementation specifics to be handled by subclass implementations. -
Uses of MethodInterceptor in org.apache.shiro.authz.aop
Classes in org.apache.shiro.authz.aop that implement MethodInterceptorModifier and TypeClassDescriptionclassAn AnnotationsAuthorizingMethodInterceptor is a MethodInterceptor that asserts a given method is authorized to execute based on one or more configured AuthorizingAnnotationMethodInterceptors.classChecks to see if a @RequiresAuthenticatedannotation is declared, and if so, ensures the callingSubject.isAuthenticated()before invoking the method.classAn AnnotationMethodInterceptor that asserts the calling code is authorized to execute the method before allowing the invocation to continue by inspecting code annotations to perform an access control check.classBasic abstract class to support intercepting methods that perform authorization (access control) checks.classChecks to see if a @RequiresGuestannotation is declared, and if so, ensures the callingSubjectdoes not have anidentitybefore invoking the method.classChecks to see if a @RequiresPermissionsannotation is declared, and if so, performs a permission check to see if the callingSubjectis allowed to call the method.classChecks to see if a @RequiresRolesannotation is declared, and if so, performs a role check to see if the callingSubjectis allowed to invoke the method.classChecks to see if a @RequiresUserannotation is declared, and if so, ensures the callingSubjectis eitherauthenticatedor remembered via remember me services before invoking the method.