Uses of Class
org.apache.shiro.authz.aop.AuthorizingAnnotationMethodInterceptor
Packages that use AuthorizingAnnotationMethodInterceptor
Package
Description
Contains AOP implementation support classes specifically used for authorization operations, particularly supporting
AOP Method Interceptors and JSR-175 metadata Annotations.
-
Uses of AuthorizingAnnotationMethodInterceptor in org.apache.shiro.authz.aop
Subclasses of AuthorizingAnnotationMethodInterceptor in org.apache.shiro.authz.aopModifier and TypeClassDescriptionclassChecks to see if a @RequiresAuthenticatedannotation is declared, and if so, ensures the callingSubject.isAuthenticated()before invoking the method.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.Fields in org.apache.shiro.authz.aop with type parameters of type AuthorizingAnnotationMethodInterceptorModifier and TypeFieldDescriptionprotected Collection<AuthorizingAnnotationMethodInterceptor> AnnotationsAuthorizingMethodInterceptor.methodInterceptorsThe method interceptors to execute for the annotated method.Methods in org.apache.shiro.authz.aop that return types with arguments of type AuthorizingAnnotationMethodInterceptorModifier and TypeMethodDescriptionAnnotationsAuthorizingMethodInterceptor.getMethodInterceptors()Returns the method interceptors to execute for the annotated method.Method parameters in org.apache.shiro.authz.aop with type arguments of type AuthorizingAnnotationMethodInterceptorModifier and TypeMethodDescriptionvoidAnnotationsAuthorizingMethodInterceptor.setMethodInterceptors(Collection<AuthorizingAnnotationMethodInterceptor> methodInterceptors) Sets the method interceptors to execute for the annotated method.