Uses of Class
org.apache.shiro.aop.AnnotationHandler
-
Packages that use AnnotationHandler Package Description org.apache.shiro.aop Components used to support the framework's AOP/interception support classes.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. -
-
Uses of AnnotationHandler in org.apache.shiro.aop
Methods in org.apache.shiro.aop that return AnnotationHandler Modifier and Type Method Description AnnotationHandlerAnnotationMethodInterceptor. getHandler()Returns theAnnotationHandlerused to perform authorization behavior based on an annotation discovered at runtime.Methods in org.apache.shiro.aop with parameters of type AnnotationHandler Modifier and Type Method Description voidAnnotationMethodInterceptor. setHandler(AnnotationHandler handler)Sets theAnnotationHandlerused to perform authorization behavior based on an annotation discovered at runtime.Constructors in org.apache.shiro.aop with parameters of type AnnotationHandler Constructor Description AnnotationMethodInterceptor(AnnotationHandler handler)Constructs anAnnotationMethodInterceptorwith theAnnotationHandlerthat will be used to process annotations of a corresponding type.AnnotationMethodInterceptor(AnnotationHandler handler, AnnotationResolver resolver)Constructs anAnnotationMethodInterceptorwith theAnnotationHandlerthat will be used to process annotations of a corresponding type, using the specifiedAnnotationResolverto acquire annotations at runtime. -
Uses of AnnotationHandler in org.apache.shiro.authz.aop
Subclasses of AnnotationHandler in org.apache.shiro.authz.aop Modifier and Type Class Description classAuthenticatedAnnotationHandlerHandlesRequiresAuthenticationannotations and ensures the calling subject is authenticated before allowing access.classAuthorizingAnnotationHandlerAn AnnotationHandler that executes authorization (access control) behavior based on directive(s) found in a JSR-175 Annotation.classGuestAnnotationHandlerChecks to see if a @RequiresGuestannotation is declared, and if so, ensures the callingSubjectdoes not have anidentitybefore invoking the method.classPermissionAnnotationHandlerChecks to see if a @RequiresPermissionsannotation is declared, and if so, performs a permission check to see if the callingSubjectis allowed continued access.classRoleAnnotationHandlerChecks to see if a @RequiresRolesannotation is declared, and if so, performs a role check to see if the callingSubjectis allowed to proceed.classUserAnnotationHandlerChecks to see if a @RequiresUserannotation is declared, and if so, ensures the callingSubjectis eitherauthenticatedor remembered via remember me services before allowing access.
-